[Olsr-dev] [PATCH v1 097/115] txtinfo: rename header files recursive include guards

Ferry Huberts (spam-protected)
Wed Dec 2 21:29:10 CET 2015


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 lib/txtinfo/src/olsrd_plugin.h  | 6 +++---
 lib/txtinfo/src/olsrd_txtinfo.h | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/txtinfo/src/olsrd_plugin.h b/lib/txtinfo/src/olsrd_plugin.h
index eb9ba53..5d26358 100644
--- a/lib/txtinfo/src/olsrd_plugin.h
+++ b/lib/txtinfo/src/olsrd_plugin.h
@@ -43,8 +43,8 @@
  * Dynamic linked library for the olsr.org olsr daemon
  */
 
-#ifndef _OLSRD_TXTINFO
-#define _OLSRD_TXTINFO
+#ifndef LIB_TXTINFO_SRC_OLSRD_PLUGIN_H_
+#define LIB_TXTINFO_SRC_OLSRD_PLUGIN_H_
 
 #include "olsr_types.h"
 #include "olsrd_plugin.h"
@@ -58,7 +58,7 @@ int olsrd_plugin_init(void);
 void olsr_plugin_exit(void);
 void olsrd_get_plugin_parameters(const struct olsrd_plugin_parameters **params, int *size);
 
-#endif /* _OLSRD_TXTINFO */
+#endif /* LIB_TXTINFO_SRC_OLSRD_PLUGIN_H_ */
 
 /*
  * Local Variables:
diff --git a/lib/txtinfo/src/olsrd_txtinfo.h b/lib/txtinfo/src/olsrd_txtinfo.h
index 80302aa..c4080bc 100644
--- a/lib/txtinfo/src/olsrd_txtinfo.h
+++ b/lib/txtinfo/src/olsrd_txtinfo.h
@@ -39,8 +39,8 @@
  *
  */
 
-#ifndef _OLSRD_TXTINFO_PRINTERS_H
-#define _OLSRD_TXTINFO_PRINTERS_H
+#ifndef LIB_TXTINFO_SRC_OLSRD_TXTINFO_H_
+#define LIB_TXTINFO_SRC_OLSRD_TXTINFO_H_
 
 #include <stdbool.h>
 
@@ -61,4 +61,4 @@ void ipc_print_olsrd_conf(struct autobuf *abuf);
 void ipc_print_interfaces(struct autobuf *abuf);
 void ipc_print_twohop(struct autobuf *abuf);
 
-#endif /* _OLSRD_TXTINFO_PRINTERS_H */
+#endif /* LIB_TXTINFO_SRC_OLSRD_TXTINFO_H_ */
-- 
2.5.0




More information about the Olsr-dev mailing list