commit f2a0142f354f347fa2122873cf1535b9a1ee598a
parent cc87cbc8c95a8d50f6b4c4921a8fadf9b9959d50
Author: Frederic Cambus <fred@statdns.com>
Date: Tue, 30 Mar 2021 20:07:05 +0200
Rename #include guards in all header files.
Diffstat:
4 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/compat/compat.hpp b/compat/compat.hpp
@@ -1,8 +1,8 @@
-#ifndef COMPAT_H
-#define COMPAT_H
+#ifndef COMPAT_HPP
+#define COMPAT_HPP
#ifndef HAVE_PLEDGE
#include "pledge.hpp"
#endif
-#endif /* COMPAT_H */
+#endif /* COMPAT_HPP */
diff --git a/src/config.hpp b/src/config.hpp
@@ -4,14 +4,14 @@
* https://www.statdns.com
*
* Created: 2012-02-13
- * Last Updated: 2019-06-10
+ * Last Updated: 2021-03-30
*
* StatZone is released under the BSD 2-Clause license
* See LICENSE file for details.
*/
-#ifndef CONFIG_H
-#define CONFIG_H
+#ifndef CONFIG_HPP
+#define CONFIG_HPP
#define VERSION "StatZone 1.0.5"
@@ -27,4 +27,4 @@ struct results {
uint64_t idn;
};
-#endif /* CONFIG_H */
+#endif /* CONFIG_HPP */
diff --git a/src/seccomp.hpp b/src/seccomp.hpp
@@ -4,14 +4,14 @@
* https://www.statdns.com
*
* Created: 2012-02-13
- * Last Updated: 2020-09-17
+ * Last Updated: 2021-03-30
*
* StatZone is released under the BSD 2-Clause license
* See LICENSE file for details.
*/
-#ifndef SECCOMP_H
-#define SECCOMP_H
+#ifndef SECCOMP_HPP
+#define SECCOMP_HPP
#include <stddef.h>
#include <sys/prctl.h>
@@ -71,4 +71,4 @@ struct sock_fprog statzone = {
.filter = filter
};
-#endif /* SECCOMP_H */
+#endif /* SECCOMP_HPP */
diff --git a/src/strtolower.hpp b/src/strtolower.hpp
@@ -4,15 +4,15 @@
* https://www.statdns.com
*
* Created: 2012-02-13
- * Last Updated: 2019-01-03
+ * Last Updated: 2021-03-30
*
* StatZone is released under the BSD 2-Clause license
* See LICENSE file for details.
*/
-#ifndef STRTOLOWER_H
-#define STRTOLOWER_H
+#ifndef STRTOLOWER_HPP
+#define STRTOLOWER_HPP
char *strtolower(char *);
-#endif /* STRTOLOWER_H */
+#endif /* STRTOLOWER_HPP */