From: Tom Rini Date: Wed, 1 Nov 2023 16:28:07 +0000 (-0400) Subject: display_options.h: Correct includes X-Git-Tag: v2024.04-rc1~8^2~62^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dcda1f27f55e4ddd2d86dac76d57febe15ff8713;p=pandora-u-boot.git display_options.h: Correct includes First, a header should never include itself so remove that. Second, this header needs to be included as the function prototypes use types that we get via that header. Signed-off-by: Tom Rini --- diff --git a/include/display_options.h b/include/display_options.h index 85dacbc7590..66e59607737 100644 --- a/include/display_options.h +++ b/include/display_options.h @@ -9,6 +9,8 @@ #ifndef __DISPLAY_OPTIONS_H #define __DISPLAY_OPTIONS_H +#include + /** * print_size() - Print a size with a suffix * @@ -19,7 +21,6 @@ * @size: Size to print * @suffix String to print after the size */ -#include void print_size(uint64_t size, const char *suffix); /**