* [PATCH] sysinfo.h: Add re-inclusion guard
@ 2021-04-19 20:19 Tom Rini
2021-04-20 14:22 ` Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2021-04-19 20:19 UTC (permalink / raw)
To: u-boot
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 at 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
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-04-20 14:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-19 20:19 [PATCH] sysinfo.h: Add re-inclusion guard Tom Rini
2021-04-20 14:22 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox