From bc9c7ccc87bee1659a586171eeb19c7474023095 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Thu, 14 Dec 2023 13:16:53 -0500 Subject: lib/sha*.c: Update header list Cleanup the list of headers we include here. For the tools build we only need to exclude as that's used by the target build for the prototype for schedule(), and we don't need to get that via . We can also make use of our intentionally existing as a redirection to to reduce ifdef'd lines. Reviewed-by: Simon Glass Signed-off-by: Tom Rini --- lib/sha512.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/sha512.c') diff --git a/lib/sha512.c b/lib/sha512.c index fbe8d5f5bf..ffe2c5cd96 100644 --- a/lib/sha512.c +++ b/lib/sha512.c @@ -11,13 +11,9 @@ */ #ifndef USE_HOSTCC -#include -#include -#else -#include +#include #endif /* USE_HOSTCC */ #include -#include #include const uint8_t sha384_der_prefix[SHA384_DER_LEN] = { -- cgit v1.2.3