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:
@@ -9,6 +9,8 @@
|
|||||||
#ifndef __DISPLAY_OPTIONS_H
|
#ifndef __DISPLAY_OPTIONS_H
|
||||||
#define __DISPLAY_OPTIONS_H
|
#define __DISPLAY_OPTIONS_H
|
||||||
|
|
||||||
|
#include <linux/types.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* print_size() - Print a size with a suffix
|
* print_size() - Print a size with a suffix
|
||||||
*
|
*
|
||||||
@@ -19,7 +21,6 @@
|
|||||||
* @size: Size to print
|
* @size: Size to print
|
||||||
* @suffix String to print after the size
|
* @suffix String to print after the size
|
||||||
*/
|
*/
|
||||||
#include <display_options.h>
|
|
||||||
void print_size(uint64_t size, const char *suffix);
|
void print_size(uint64_t size, const char *suffix);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user