From e80cb9d4d12ce2f79369600f69a77415efa99f97 Mon Sep 17 00:00:00 2001 From: Pavel Odintsov Date: Thu, 14 May 2015 18:21:26 +0300 Subject: [PATCH] Fix underscores in Header Guards --- src/example_plugin/example_collector.h | 4 ++-- src/fast_library.h | 4 ++-- src/fastnetmon_packet_parser.h | 4 ++-- src/fastnetmon_types.h | 4 ++-- src/libpatricia/patricia.h | 6 +++--- src/netflow_plugin/netflow_collector.h | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/example_plugin/example_collector.h b/src/example_plugin/example_collector.h index f4f75aa8..b2694c6e 100644 --- a/src/example_plugin/example_collector.h +++ b/src/example_plugin/example_collector.h @@ -1,5 +1,5 @@ -#ifndef _EXAMPLE_PLUGIN_H -#define _EXAMPLE_PLUGIN_H +#ifndef EXAMPLE_PLUGIN_H +#define EXAMPLE_PLUGIN_H #include "../fastnetmon_types.h" diff --git a/src/fast_library.h b/src/fast_library.h index 5e39588e..6222e307 100644 --- a/src/fast_library.h +++ b/src/fast_library.h @@ -1,5 +1,5 @@ -#ifndef _FAST_LIBRARY_H -#define _FAST_LIBRARY_H +#ifndef FAST_LIBRARY_H +#define FAST_LIBRARY_H #include "fastnetmon_types.h" diff --git a/src/fastnetmon_packet_parser.h b/src/fastnetmon_packet_parser.h index d31347b2..27fba819 100644 --- a/src/fastnetmon_packet_parser.h +++ b/src/fastnetmon_packet_parser.h @@ -1,5 +1,5 @@ -#ifndef _PFRING_PACKET_PARSER_H -#define _PFRING_PACKET_PARSER_H +#ifndef PFRING_PACKET_PARSER_H +#define PFRING_PACKET_PARSER_H #include #include // in6_addr diff --git a/src/fastnetmon_types.h b/src/fastnetmon_types.h index 8263645c..66f18a3f 100644 --- a/src/fastnetmon_types.h +++ b/src/fastnetmon_types.h @@ -1,5 +1,5 @@ -#ifndef _FASTNETMON_TYPES_H -#define _FASTNETMON_TYPES_H +#ifndef FASTNETMON_TYPES_H +#define FASTNETMON_TYPES_H #include // std::pair #include // uint32_t diff --git a/src/libpatricia/patricia.h b/src/libpatricia/patricia.h index 79228bb0..63736b7a 100644 --- a/src/libpatricia/patricia.h +++ b/src/libpatricia/patricia.h @@ -16,8 +16,8 @@ extern "C" { * some other things it could be used as a standalone API. */ -#ifndef _PATRICIA_H -#define _PATRICIA_H +#ifndef PATRICIA_H +#define PATRICIA_H #define HAVE_IPV6 @@ -153,7 +153,7 @@ do { \ } \ } while (0) -#endif /* _PATRICIA_H */ +#endif /* PATRICIA_H */ #ifdef __cplusplus } diff --git a/src/netflow_plugin/netflow_collector.h b/src/netflow_plugin/netflow_collector.h index 2fbc227e..10382f46 100644 --- a/src/netflow_plugin/netflow_collector.h +++ b/src/netflow_plugin/netflow_collector.h @@ -1,5 +1,5 @@ -#ifndef _NETFLOW_PLUGIN_H -#define _NETFLOW_PLUGIN_H +#ifndef NETFLOW_PLUGIN_H +#define NETFLOW_PLUGIN_H /* netflow plugin header */