diff options
author | Sadie Powell <sadie@witchery.services> | 2022-01-04 12:02:50 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2022-01-04 12:10:32 +0000 |
commit | 7d1047490e4380c4f02900b711c66055d29fb387 (patch) | |
tree | ff3a4b9063b9b8b6e2cf1b36c185c3ad47de99e7 /include/sysconf.h.cmake | |
parent | c9f93eeaedcf3e2d211fea7799ea529d76ebaad5 (diff) |
Consistently use #pragma once across all header files.
This replaces a mixture of no include guards, ANOPE_FOO_H, and FOO_H.
Diffstat (limited to 'include/sysconf.h.cmake')
-rw-r--r-- | include/sysconf.h.cmake | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/include/sysconf.h.cmake b/include/sysconf.h.cmake index b63598ae7..18fae8cc3 100644 --- a/include/sysconf.h.cmake +++ b/include/sysconf.h.cmake @@ -1,5 +1,15 @@ -#ifndef _SYSCONF_H_ -#define _SYSCONF_H_ +/* + * + * (C) 2003-2021 Anope Team + * Contact us at team@anope.org + * + * Please read COPYING and README for further details. + * + * Based on the original code of Epona by Lara. + * Based on the original code of Services by Andy Church. + */ + +#pragma once #cmakedefine DEBUG_BUILD @@ -22,5 +32,3 @@ # define bzero(buf, size) memset(buf, 0, size) # define sleep(x) Sleep(x * 1000) #endif - -#endif |