diff options
author | Tom Rini | 2023-11-01 12:28:07 -0400 |
---|---|---|
committer | Tom Rini | 2023-11-07 14:50:51 -0500 |
commit | dcda1f27f55e4ddd2d86dac76d57febe15ff8713 (patch) | |
tree | 640419fab4907658ac4de57c3586ea601c45de0b /include/display_options.h | |
parent | 704b6d82ba393382608c41358975e70cba0b2371 (diff) |
display_options.h: Correct includes
First, a header should never include itself so remove that. Second, this
header needs <linux/types.h> to be included as the function prototypes
use types that we get via that header.
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/display_options.h')
-rw-r--r-- | include/display_options.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <linux/types.h> + /** * print_size() - Print a size with a suffix * @@ -19,7 +21,6 @@ * @size: Size to print * @suffix String to print after the size */ -#include <display_options.h> void print_size(uint64_t size, const char *suffix); /** |