[PATCH] sysinfo.h: Add re-inclusion guard

Add #ifndef __SYSINFO_H__ ... #endif to prevent re-inclusion of this file.
Signed-off-by: Tom Rini trini@konsulko.com --- include/sysinfo.h | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/include/sysinfo.h b/include/sysinfo.h index 7b2114088003..b140d742e93d 100644 --- a/include/sysinfo.h +++ b/include/sysinfo.h @@ -4,6 +4,9 @@ * Mario Six, Guntermann & Drunck GmbH, mario.six@gdsys.cc */
+#ifndef __SYSINFO_H__ +#define __SYSINFO_H__ + struct udevice;
/* @@ -236,3 +239,4 @@ static inline int sysinfo_get_fit_loadable(struct udevice *dev, int index, }
#endif +#endif

On Mon, Apr 19, 2021 at 04:19:40PM -0400, Tom Rini wrote:
Add #ifndef __SYSINFO_H__ ... #endif to prevent re-inclusion of this file.
Signed-off-by: Tom Rini trini@konsulko.com
Applied to u-boot/master, thanks!
participants (1)
-
Tom Rini