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

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


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 lib/jsoninfo/src/olsrd_jsoninfo.h         | 6 +++---
 lib/jsoninfo/src/olsrd_jsoninfo_helpers.h | 6 +++---
 lib/jsoninfo/src/olsrd_plugin.h           | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/lib/jsoninfo/src/olsrd_jsoninfo.h b/lib/jsoninfo/src/olsrd_jsoninfo.h
index ced8389..5d74c9a 100644
--- a/lib/jsoninfo/src/olsrd_jsoninfo.h
+++ b/lib/jsoninfo/src/olsrd_jsoninfo.h
@@ -39,8 +39,8 @@
  *
  */
 
-#ifndef _OLSRD_JSONINFO_PRINTERS_H
-#define _OLSRD_JSONINFO_PRINTERS_H
+#ifndef LIB_JSONINFO_SRC_OLSRD_JSONINFO_H_
+#define LIB_JSONINFO_SRC_OLSRD_JSONINFO_H_
 
 #include <stdbool.h>
 #include <time.h>
@@ -73,4 +73,4 @@ void ipc_print_twohop(struct autobuf *abuf);
 void ipc_print_config(struct autobuf *abuf);
 void ipc_print_plugins(struct autobuf *abuf);
 
-#endif /* _OLSRD_JSONINFO_PRINTERS_H */
+#endif /* LIB_JSONINFO_SRC_OLSRD_JSONINFO_H_ */
diff --git a/lib/jsoninfo/src/olsrd_jsoninfo_helpers.h b/lib/jsoninfo/src/olsrd_jsoninfo_helpers.h
index 2cffd41..2c3d04f 100644
--- a/lib/jsoninfo/src/olsrd_jsoninfo_helpers.h
+++ b/lib/jsoninfo/src/olsrd_jsoninfo_helpers.h
@@ -39,8 +39,8 @@
  *
  */
 
-#ifndef LIB_TXTINFO_SRC_OLSRD_JSONINFO_HELPERS_H_
-#define LIB_TXTINFO_SRC_OLSRD_JSONINFO_HELPERS_H_
+#ifndef LIB_JSONINFO_SRC_OLSRD_JSONINFO_HELPERS_H_
+#define LIB_JSONINFO_SRC_OLSRD_JSONINFO_HELPERS_H_
 
 #include <stdio.h>
 
@@ -73,4 +73,4 @@ void abuf_json_sys_class_net(struct autobuf *abuf, const char* key, const char*
 
 int read_uuid_from_file(const char * name, const char *file);
 
-#endif /* LIB_TXTINFO_SRC_OLSRD_JSONINFO_HELPERS_H_ */
+#endif /* LIB_JSONINFO_SRC_OLSRD_JSONINFO_HELPERS_H_ */
diff --git a/lib/jsoninfo/src/olsrd_plugin.h b/lib/jsoninfo/src/olsrd_plugin.h
index c3b0ed6..e1547ef 100644
--- a/lib/jsoninfo/src/olsrd_plugin.h
+++ b/lib/jsoninfo/src/olsrd_plugin.h
@@ -43,8 +43,8 @@
  * Dynamic linked library for the olsr.org olsr daemon
  */
 
-#ifndef _OLSRD_JSONINFO
-#define _OLSRD_JSONINFO
+#ifndef LIB_JSONINFO_SRC_OLSRD_PLUGIN_H_
+#define LIB_JSONINFO_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_JSONINFO */
+#endif /* LIB_JSONINFO_SRC_OLSRD_PLUGIN_H_ */
 
 /*
  * Local Variables:
-- 
2.5.0




More information about the Olsr-dev mailing list