commit cc87cbc8c95a8d50f6b4c4921a8fadf9b9959d50
parent b707eeb7b6a5ceb6cec8343fffe54080b39afd8e
Author: Frederic Cambus <fred@statdns.com>
Date: Tue, 30 Mar 2021 20:04:12 +0200
Rename all header files to use the .hpp extension.
Diffstat:
8 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/compat/compat.h b/compat/compat.h
@@ -1,8 +0,0 @@
-#ifndef COMPAT_H
-#define COMPAT_H
-
-#ifndef HAVE_PLEDGE
-#include "pledge.h"
-#endif
-
-#endif /* COMPAT_H */
diff --git a/compat/compat.hpp b/compat/compat.hpp
@@ -0,0 +1,8 @@
+#ifndef COMPAT_H
+#define COMPAT_H
+
+#ifndef HAVE_PLEDGE
+#include "pledge.hpp"
+#endif
+
+#endif /* COMPAT_H */
diff --git a/compat/pledge.h b/compat/pledge.hpp
diff --git a/src/config.h b/src/config.hpp
diff --git a/src/seccomp.h b/src/seccomp.hpp
diff --git a/src/statzone.cpp b/src/statzone.cpp
@@ -30,9 +30,9 @@
#include "seccomp.h"
#endif
-#include "compat.h"
-#include "config.h"
-#include "strtolower.h"
+#include "compat.hpp"
+#include "config.hpp"
+#include "strtolower.hpp"
std::chrono::steady_clock::time_point begin, current, elapsed;
struct results results;
diff --git a/src/strtolower.cpp b/src/strtolower.cpp
@@ -11,7 +11,7 @@
*/
#include <ctype.h>
-#include "strtolower.h"
+#include "strtolower.hpp"
char *
strtolower(char *str)
diff --git a/src/strtolower.h b/src/strtolower.hpp