info: rename header files recursive include guards
authorFerry Huberts <ferry.huberts@pelagic.nl>
Tue, 1 Dec 2015 17:38:28 +0000 (18:38 +0100)
committerFerry Huberts <ferry.huberts@pelagic.nl>
Wed, 2 Dec 2015 19:54:16 +0000 (20:54 +0100)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
lib/info/http_headers.h
lib/info/info_types.h
lib/info/olsrd_info.h

index 221e70b..f51f715 100644 (file)
@@ -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_ */
index a54da0c..82001af 100644 (file)
@@ -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_ */
index 8c8343c..ff590e5 100644 (file)
  *
  */
 
-#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_ */