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>
This commit is contained in:
Tom Rini 2023-11-01 12:28:07 -04:00
parent 704b6d82ba
commit dcda1f27f5

View file

@ -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);
/**