Skip to content

Commit

Permalink
sysinfo.h: Add re-inclusion guard
Browse files Browse the repository at this point in the history
Add #ifndef __SYSINFO_H__ ... #endif to prevent re-inclusion of this
file.

Signed-off-by: Tom Rini <[email protected]>
  • Loading branch information
trini committed Apr 20, 2021
1 parent 9f4b534 commit 56a3433
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/sysinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
* Mario Six, Guntermann & Drunck GmbH, [email protected]
*/

#ifndef __SYSINFO_H__
#define __SYSINFO_H__

struct udevice;

/*
Expand Down Expand Up @@ -228,3 +231,4 @@ static inline int sysinfo_get_fit_loadable(struct udevice *dev, int index,
}

#endif
#endif

0 comments on commit 56a3433

Please sign in to comment.