Module: check_mk
Branch: master
Commit: 1cff9a756d00aa10903aab85b52b4a1f2f45ec51
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1cff9a756d00aa…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Tue Dec 8 08:37:08 2015 +0100
Fixed #include guards.
---
livestatus/src/HostSpecialDoubleColumn.h | 6 +++---
livestatus/src/TimeperiodsCache.h | 6 +++---
livestatus/src/store_c.h | 7 +++----
3 files changed, 9 insertions(+), 10 deletions(-)
diff --git a/livestatus/src/HostSpecialDoubleColumn.h
b/livestatus/src/HostSpecialDoubleColumn.h
index 13b8c22..78de1ed 100644
--- a/livestatus/src/HostSpecialDoubleColumn.h
+++ b/livestatus/src/HostSpecialDoubleColumn.h
@@ -22,8 +22,8 @@
// to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
// Boston, MA 02110-1301 USA.
-#ifndef ServiceSpecialDoubleColumn_h
-#define ServiceSpecialDoubleColumn_h
+#ifndef HostSpecialDoubleColumn_h
+#define HostSpecialDoubleColumn_h
#include "config.h" // IWYU pragma: keep
#include <string>
@@ -42,4 +42,4 @@ public:
double getValue(void *data);
};
-#endif // ServiceSpecialDoubleColumn_h
+#endif // HostSpecialDoubleColumn_h
diff --git a/livestatus/src/TimeperiodsCache.h b/livestatus/src/TimeperiodsCache.h
index 4b4534d..d9b901c 100644
--- a/livestatus/src/TimeperiodsCache.h
+++ b/livestatus/src/TimeperiodsCache.h
@@ -22,8 +22,8 @@
// to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
// Boston, MA 02110-1301 USA.
-#ifndef _TimeperiodsCache_h
-#define _TimeperiodsCache_h
+#ifndef TimeperiodsCache_h
+#define TimeperiodsCache_h
#include "config.h" // IWYU pragma: keep
#include <time.h>
@@ -50,4 +50,4 @@ private:
void logTransition(char *name, int from, int to);
};
-#endif // _TimeperiodsCache_h
+#endif // TimeperiodsCache_h
diff --git a/livestatus/src/store_c.h b/livestatus/src/store_c.h
index f5e935c..1e885a2 100644
--- a/livestatus/src/store_c.h
+++ b/livestatus/src/store_c.h
@@ -22,8 +22,8 @@
// to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
// Boston, MA 02110-1301 USA.
-#ifndef store_h
-#define store_h
+#ifndef store_c_h
+#define store_c_h
#include "config.h" // IWYU pragma: keep
#include <time.h>
@@ -57,5 +57,4 @@ extern "C"
}
#endif
-#endif /* store_h */
-
+#endif /* store_c_h */