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) --- tests/lib/lzma-test.c | 1 + tests/stubs/die.c | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/lib/lzma-test.c b/tests/lib/lzma-test.c index 48d629a179..e4bff5644f 100644 --- a/tests/lib/lzma-test.c +++ b/tests/lib/lzma-test.c @@ -4,6 +4,7 @@ #include #include #include +#include #include #include #include diff --git a/tests/stubs/die.c b/tests/stubs/die.c index 84bb401ab0..86e5056c5b 100644 --- a/tests/stubs/die.c +++ b/tests/stubs/die.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include -#include #include void die(const char *msg, ...) -- cgit v1.2.3