sysinfo.h: Add re-inclusion guard
PATCH 1/1 sysinfo.h: Add re-inclusion guard
Add #ifndef __SYSINFO_H__ ... #endif to prevent re-inclusion of this file.
Signed-off-by Tom Rini <[email protected]>
--- include/sysinfo.h | 4 ++++ 1 file changed, 4 insertions(+)
include/sysinfo.h +4 -0
@@ -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
Signature · 1 line
2.17.1
PATCH 1/1 sysinfo.h: Add re-inclusion guard
Quoted 4 lines · Tom Rini
Add #ifndef
__SYSINFO_H__... #endif to prevent re-inclusion of this file.Signed-off-by Tom Rini <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210420/bf588748/attachment.sig>