[PATCH 11/11] lib: Remove <common.h> inclusion from these files
Simon Glass
sjg at chromium.org
Fri Dec 1 19:44:22 CET 2023
On Wed, 22 Nov 2023 at 06:13, Tom Rini <trini at konsulko.com> wrote:
>
> After some header file cleanups to add missing include files, remove
> common.h from all files in the lib directory. This primarily means just
> dropping the line but in a few cases we need to add in other header
> files now.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> lib/abuf.c | 1 -
> lib/acpi/acpi.c | 1 -
> lib/acpi/acpi_device.c | 1 -
> lib/acpi/acpi_dp.c | 1 -
> lib/acpi/acpi_table.c | 1 -
> lib/acpi/acpi_writer.c | 2 +-
> lib/acpi/acpigen.c | 1 -
> lib/acpi/base.c | 3 ++-
> lib/acpi/csrt.c | 2 +-
> lib/acpi/dsdt.c | 2 +-
> lib/acpi/facs.c | 2 +-
> lib/acpi/mcfg.c | 4 +++-
> lib/acpi/ssdt.c | 3 ++-
> lib/addr_map.c | 1 -
> lib/aes.c | 2 +-
> lib/aes/aes-decrypt.c | 1 -
> lib/asm-offsets.c | 2 +-
> lib/at91/at91.c | 1 -
> lib/bch.c | 1 -
> lib/binman.c | 1 -
> lib/bzip2/bzlib.c | 3 +--
> lib/bzip2/bzlib_decompress.c | 1 -
> lib/charset.c | 1 -
> lib/circbuf.c | 1 -
> lib/crc16-ccitt.c | 2 --
> lib/crc32.c | 1 -
> lib/crc32c.c | 1 -
> lib/crc8.c | 2 --
> lib/crypt/crypt-port.h | 3 +++
> lib/crypt/crypt.c | 1 -
> lib/crypto/x509_public_key.c | 1 -
> lib/date.c | 1 -
> lib/dhry/cmd_dhry.c | 3 ++-
> lib/dhry/dhry_1.c | 2 +-
> lib/dhry/dhry_2.c | 2 +-
> lib/efi/efi.c | 1 -
> lib/efi/efi_app.c | 1 -
> lib/efi/efi_info.c | 1 -
> lib/efi/efi_stub.c | 1 -
> lib/efi_driver/efi_block_device.c | 1 -
> lib/efi_driver/efi_uclass.c | 1 -
> lib/efi_selftest/efi_selftest_esrt.c | 1 -
> lib/efi_selftest/efi_selftest_miniapp_exception.c | 1 -
> lib/efi_selftest/efi_selftest_miniapp_exit.c | 1 -
> lib/efi_selftest/efi_selftest_miniapp_return.c | 1 -
> lib/elf.c | 1 -
> lib/errno_str.c | 2 +-
> lib/fdtdec.c | 1 -
> lib/fdtdec_common.c | 1 -
> lib/fdtdec_test.c | 1 -
> lib/getopt.c | 2 +-
> lib/gunzip.c | 1 -
> lib/gzip.c | 1 -
> lib/hang.c | 2 +-
> lib/hash-checksum.c | 1 -
> lib/hashtable.c | 1 -
> lib/hexdump.c | 2 +-
> lib/image-sparse.c | 1 -
> lib/initcall.c | 1 -
> lib/linux_compat.c | 1 -
> lib/list_sort.c | 1 -
> lib/lmb.c | 1 -
> lib/lz4.c | 1 -
> lib/lz4_wrapper.c | 1 -
> lib/lzma/LzmaDec.c | 1 -
> lib/lzma/LzmaTools.c | 1 -
> lib/lzo/lzo1x_decompress.c | 3 ++-
> lib/md5.c | 1 -
> lib/membuff.c | 1 -
> lib/net_utils.c | 2 +-
> lib/of_live.c | 1 -
> lib/optee/optee.c | 1 -
> lib/panic.c | 1 -
> lib/physmem.c | 2 +-
> lib/qsort.c | 1 -
> lib/rand.c | 1 -
> lib/rc4.c | 3 ---
> lib/rsa/rsa-keyprop.c | 1 -
> lib/rsa/rsa-mod-exp.c | 1 -
> lib/rsa/rsa-verify.c | 1 -
> lib/rtc-lib.c | 1 -
> lib/semihosting.c | 3 ++-
> lib/slre.c | 2 +-
> lib/smbios-parser.c | 1 -
> lib/smbios.c | 1 -
> lib/strto.c | 2 +-
> lib/tables_csum.c | 3 +--
> lib/time.c | 1 -
> lib/tiny-printf.c | 1 -
> lib/tpm-common.c | 1 -
> lib/tpm-v1.c | 1 -
> lib/tpm-v2.c | 1 -
> lib/tpm_api.c | 1 -
> lib/trace.c | 2 +-
> lib/uuid.c | 2 --
> lib/vsprintf.c | 1 -
> lib/zstd/zstd.c | 2 +-
> 97 files changed, 36 insertions(+), 103 deletions(-)
>
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list