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/modules.h | |
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/modules.h')
-rw-r--r-- | include/modules.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/modules.h b/include/modules.h index c3379bc6d..c3fea51b1 100644 --- a/include/modules.h +++ b/include/modules.h @@ -9,11 +9,10 @@ * Based on the original code of Services by Andy Church. */ -#include "serialize.h" -#ifndef MODULES_H -#define MODULES_H +#pragma once +#include "serialize.h" #include "base.h" #include "modes.h" #include "timers.h" @@ -1227,5 +1226,3 @@ class CoreExport ModuleManager */ static ModuleVersion GetVersion(void *handle); }; - -#endif // MODULES_H |