From bdd03c20d5b1cd7ca17e2559a44ddcf1da06f3be Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Mon, 27 May 2024 11:20:07 +0200 Subject: tree: Use for snprintf header is used for input/output operations (such as printf, scanf, fopen, etc.). Although some input/output functions can manipulate strings, they do not need to directly include because they are declared independently. Change-Id: Ibe2a4ff6f68843a6d99cfdfe182cf2dd922802aa Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/82665 Reviewed-by: Yidi Lin Tested-by: build bot (Jenkins) --- src/soc/cavium/cn81xx/soc.c | 1 + src/soc/intel/common/block/acpi/cpu_hybrid.c | 1 + src/soc/intel/xeon_sp/acpi.c | 1 + src/soc/mediatek/common/display.c | 1 + 4 files changed, 4 insertions(+) (limited to 'src/soc') diff --git a/src/soc/cavium/cn81xx/soc.c b/src/soc/cavium/cn81xx/soc.c index 5e606d3d9e..81c9a648e5 100644 --- a/src/soc/cavium/cn81xx/soc.c +++ b/src/soc/cavium/cn81xx/soc.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include #include diff --git a/src/soc/intel/common/block/acpi/cpu_hybrid.c b/src/soc/intel/common/block/acpi/cpu_hybrid.c index f52b68f7e2..68abba7eb8 100644 --- a/src/soc/intel/common/block/acpi/cpu_hybrid.c +++ b/src/soc/intel/common/block/acpi/cpu_hybrid.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #define CPPC_NOM_FREQ_IDX 22 diff --git a/src/soc/intel/xeon_sp/acpi.c b/src/soc/intel/xeon_sp/acpi.c index 0d66aec282..1c493afc1c 100644 --- a/src/soc/intel/xeon_sp/acpi.c +++ b/src/soc/intel/xeon_sp/acpi.c @@ -6,6 +6,7 @@ #include #include #include +#include #include #include "chip.h" diff --git a/src/soc/mediatek/common/display.c b/src/soc/mediatek/common/display.c index 0dea58c74f..0c23e49249 100644 --- a/src/soc/mediatek/common/display.c +++ b/src/soc/mediatek/common/display.c @@ -10,6 +10,7 @@ #include #include #include +#include #include static struct panel_serializable_data *get_mipi_cmd_from_cbfs(struct panel_description *desc) -- cgit v1.2.3