Elyes Haouas has submitted this change. ( https://review.coreboot.org/c/coreboot/+/81853?usp=email )
Change subject: tree: Drop duplicated <stdarg.h> and <stdio.h> ......................................................................
tree: Drop duplicated <stdarg.h> and <stdio.h>
<string.h> is supposed to provide <stdarg.h> and <stdio.h>
Change-Id: I021ba535ba5ec683021c4dfc41ac18d9cebbcfd2 Signed-off-by: Elyes Haouas ehaouas@noos.fr Reviewed-on: https://review.coreboot.org/c/coreboot/+/81853 Reviewed-by: Eric Lai ericllai@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org --- M src/console/vsprintf.c M src/console/vtxprintf.c M src/cpu/x86/smm/smm_module_loader.c M src/device/pci_rom.c M src/drivers/ocp/dmi/smbios.c M src/mainboard/ocp/deltalake/ramstage.c M tests/lib/string-test.c 7 files changed, 0 insertions(+), 7 deletions(-)
Approvals: Eric Lai: Looks good to me, approved build bot (Jenkins): Verified
diff --git a/src/console/vsprintf.c b/src/console/vsprintf.c index 6892639..06b9e49 100644 --- a/src/console/vsprintf.c +++ b/src/console/vsprintf.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */
#include <console/vtxprintf.h> -#include <stdarg.h> #include <string.h>
struct vsnprintf_context { diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c index cfba6db..fba76bc 100644 --- a/src/console/vtxprintf.c +++ b/src/console/vtxprintf.c @@ -6,7 +6,6 @@
#include <console/vtxprintf.h> #include <ctype.h> -#include <stdarg.h> #include <string.h> #include <types.h>
diff --git a/src/cpu/x86/smm/smm_module_loader.c b/src/cpu/x86/smm/smm_module_loader.c index 646f3bb..02debfc 100644 --- a/src/cpu/x86/smm/smm_module_loader.c +++ b/src/cpu/x86/smm/smm_module_loader.c @@ -11,7 +11,6 @@ #include <device/mmio.h> #include <rmodule.h> #include <smmstore.h> -#include <stdio.h> #include <string.h> #include <types.h>
diff --git a/src/device/pci_rom.c b/src/device/pci_rom.c index 1e212ab..aca55d6 100644 --- a/src/device/pci_rom.c +++ b/src/device/pci_rom.c @@ -6,7 +6,6 @@ #include <device/pci.h> #include <device/pci_ids.h> #include <device/pci_ops.h> -#include <stdio.h> #include <string.h> #include <cbfs.h> #include <cbmem.h> diff --git a/src/drivers/ocp/dmi/smbios.c b/src/drivers/ocp/dmi/smbios.c index 0ac3334..ead9b4d 100644 --- a/src/drivers/ocp/dmi/smbios.c +++ b/src/drivers/ocp/dmi/smbios.c @@ -6,7 +6,6 @@ #include <delay.h> #include <cpu/x86/mp.h> #include <timer.h> -#include <stdio.h> #include <string.h> #include <soc/soc_util.h> #include <soc/util.h> diff --git a/src/mainboard/ocp/deltalake/ramstage.c b/src/mainboard/ocp/deltalake/ramstage.c index 55a10ad..6dd7c10 100644 --- a/src/mainboard/ocp/deltalake/ramstage.c +++ b/src/mainboard/ocp/deltalake/ramstage.c @@ -20,7 +20,6 @@ #include <soc/smmrelocate.h> #include <soc/soc_util.h> #include <soc/util.h> -#include <stdio.h> #include <string.h> #include <types.h>
diff --git a/tests/lib/string-test.c b/tests/lib/string-test.c index 0f21747..621a74c 100644 --- a/tests/lib/string-test.c +++ b/tests/lib/string-test.c @@ -5,7 +5,6 @@ #include <stdint.h> #include <stddef.h> #include <tests/test.h> -#include <stdio.h>
/* * Important note: In every particular test, don't use any string-related