[v2 11/16] lib/sha*.c: Update header list

Simon Glass sjg at chromium.org
Sat Dec 16 19:45:54 CET 2023


On Thu, 14 Dec 2023 at 11:18, Tom Rini <trini at konsulko.com> wrote:
>
> Cleanup the list of headers we include here. For the tools build we only
> need to exclude <cyclic.h> as that's used by the target build for the
> prototype for schedule(), and we don't need to get that via
> <watchdog.h>. We can also make use of our <string.h> intentionally
> existing as a redirection to <linux/string.h> to reduce ifdef'd lines.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
>  lib/sha1.c   | 7 ++-----
>  lib/sha256.c | 7 ++-----
>  lib/sha512.c | 6 +-----
>  3 files changed, 5 insertions(+), 15 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list