[PATCH v2 5/7] include/parseopt.h: add guard macro
Antony Pavlov
antonynpavlov at gmail.com
Sun Jan 14 13:22:50 PST 2018
Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
include/parseopt.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/parseopt.h b/include/parseopt.h
index abf3be3f35..becc734c2b 100644
--- a/include/parseopt.h
+++ b/include/parseopt.h
@@ -1,2 +1,7 @@
+#ifndef __PARSEOPT_H__
+#define __PARSEOPT_H__
+
void parseopt_b(const char *options, const char *opt, bool *val);
void parseopt_hu(const char *options, const char *opt, unsigned short *val);
+
+#endif /* __PARSEOPT_H__ */
--
2.15.1
More information about the barebox
mailing list