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

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


From: Ferry Huberts <(spam-protected)>

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 lib/info/http_headers.h | 6 +++---
 lib/info/info_types.h   | 6 +++---
 lib/info/olsrd_info.h   | 6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/lib/info/http_headers.h b/lib/info/http_headers.h
index 221e70b..f51f715 100644
--- a/lib/info/http_headers.h
+++ b/lib/info/http_headers.h
@@ -39,8 +39,8 @@
  *
  */
 
-#ifndef _OLSRD_INFO_COMMON_HTTP_HEADERS
-#define _OLSRD_INFO_COMMON_HTTP_HEADERS
+#ifndef _OLSRD_LIB_INFO_HTTP_HEADERS_H_
+#define _OLSRD_LIB_INFO_HTTP_HEADERS_H_
 
 #include "common/autobuf.h"
 
@@ -51,4 +51,4 @@ void build_http_header(const char * plugin_name, const char *status, const char
 
 void http_header_adjust_content_length(struct autobuf *abuf, int contentLengthIndex, int contentLength);
 
-#endif /* _OLSRD_INFO_COMMON_HTTP_HEADERS */
+#endif /* _OLSRD_LIB_INFO_HTTP_HEADERS_H_ */
diff --git a/lib/info/info_types.h b/lib/info/info_types.h
index a54da0c..82001af 100644
--- a/lib/info/info_types.h
+++ b/lib/info/info_types.h
@@ -39,8 +39,8 @@
  *
  */
 
-#ifndef _OLSRD_INFO_TYPES_H
-#define _OLSRD_INFO_TYPES_H
+#ifndef _OLSRD_LIB_INFO_INFO_TYPES_H_
+#define _OLSRD_LIB_INFO_INFO_TYPES_H_
 
 #include <stdbool.h>
 
@@ -110,4 +110,4 @@ typedef struct {
     int ipv6_only;
 } info_plugin_config_t;
 
-#endif /* _OLSRD_INFO_TYPES_H */
+#endif /* _OLSRD_LIB_INFO_INFO_TYPES_H_ */
diff --git a/lib/info/olsrd_info.h b/lib/info/olsrd_info.h
index 8c8343c..ff590e5 100644
--- a/lib/info/olsrd_info.h
+++ b/lib/info/olsrd_info.h
@@ -39,12 +39,12 @@
  *
  */
 
-#ifndef _OLSRD_INFO_INFO_H
-#define _OLSRD_INFO_INFO_H
+#ifndef _OLSRD_LIB_INFO_OLSRD_INFO_H_
+#define _OLSRD_LIB_INFO_OLSRD_INFO_H_
 
 #include "info_types.h"
 
 int info_plugin_init(const char * plugin_name, info_plugin_functions_t *plugin_functions, info_plugin_config_t *config);
 void info_plugin_exit(void);
 
-#endif /* _OLSRD_INFO_INFO_H */
+#endif /* _OLSRD_LIB_INFO_OLSRD_INFO_H_ */
-- 
2.5.0




More information about the Olsr-dev mailing list