From df5f76832ee67d1cbfb1fc47a8d3ec3823f010c5 Mon Sep 17 00:00:00 2001 From: Justin Crawford Date: Sat, 14 Apr 2012 18:03:25 -0700 Subject: Fixes for bug #12 --- include/bancache.h | 4 ++-- include/base.h | 4 ++-- include/caller.h | 4 ++-- include/channelmanager.h | 4 ++-- include/channels.h | 4 ++-- include/command_parse.h | 4 ++-- include/commands/cmd_whowas.h | 4 ++-- include/ctables.h | 4 ++-- include/cull_list.h | 4 ++-- include/dns.h | 4 ++-- include/dynamic.h | 4 ++-- include/exitcodes.h | 4 ++-- include/filelogger.h | 4 ++-- include/hashcomp.h | 4 ++-- include/inspircd.h | 4 ++-- include/inspsocket.h | 4 ++-- include/inspstring.h | 4 ++-- include/logger.h | 4 ++-- include/membership.h | 4 ++-- include/mode.h | 4 ++-- include/modules.h | 4 ++-- include/numerics.h | 4 ++-- include/protocol.h | 4 ++-- include/snomasks.h | 4 ++-- include/socketengine.h | 4 ++-- include/testsuite.h | 4 ++-- include/threadengine.h | 4 ++-- include/threadengines/threadengine_pthread.h | 4 ++-- include/threadengines/threadengine_win32.h | 4 ++-- include/typedefs.h | 4 ++-- include/usermanager.h | 4 ++-- include/users.h | 4 ++-- include/xline.h | 4 ++-- 33 files changed, 66 insertions(+), 66 deletions(-) (limited to 'include') diff --git a/include/bancache.h b/include/bancache.h index 917d2567a..cd7bd63d0 100644 --- a/include/bancache.h +++ b/include/bancache.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __BANCACHE_H -#define __BANCACHE_H +#ifndef BANCACHE_H +#define BANCACHE_H /** Stores a cached ban entry. * Each ban has one of these hashed in a hash_map to make for faster removal diff --git a/include/base.h b/include/base.h index 385907887..3f70f0195 100644 --- a/include/base.h +++ b/include/base.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __BASE_H__ -#define __BASE_H__ +#ifndef BASE_H +#define BASE_H #include #include diff --git a/include/caller.h b/include/caller.h index b21025a2b..94bebdd89 100644 --- a/include/caller.h +++ b/include/caller.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __CALLER__H__ -#define __CALLER__H__ +#ifndef CALLER_H +#define CALLER_H /** The templates below can be auto generated by tools/create_templates.pl. * They are used to represent a functor with a given number of parameters and diff --git a/include/channelmanager.h b/include/channelmanager.h index 7f43c88df..fb14b9dd0 100644 --- a/include/channelmanager.h +++ b/include/channelmanager.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __CHANNELMANAGER_H -#define __CHANNELMANAGER_H +#ifndef CHANNELMANAGER_H +#define CHANNELMANAGER_H /** THe channel manager class allocates and deallocates channels and manages * the container which holds them. For some reason, nobody finished this. diff --git a/include/channels.h b/include/channels.h index cd6a5a4b8..d9c3c978f 100644 --- a/include/channels.h +++ b/include/channels.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __CHANNELS_H__ -#define __CHANNELS_H__ +#ifndef CHANNELS_H +#define CHANNELS_H #include "membership.h" #include "mode.h" diff --git a/include/command_parse.h b/include/command_parse.h index bd778c3d2..35b72ecf5 100644 --- a/include/command_parse.h +++ b/include/command_parse.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __COMMAND_PARSE_H -#define __COMMAND_PARSE_H +#ifndef COMMAND_PARSE_H +#define COMMAND_PARSE_H /** A list of dll/so files containing the command handlers for the core */ diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h index 19b7b74fd..a100a6ab9 100644 --- a/include/commands/cmd_whowas.h +++ b/include/commands/cmd_whowas.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __CMD_WHOWAS_H__ -#define __CMD_WHOWAS_H__ +#ifndef CMD_WHOWAS_H +#define CMD_WHOWAS_H #include "modules.h" struct WhowasRequest : public Request diff --git a/include/ctables.h b/include/ctables.h index 75795e48c..1c67702bb 100644 --- a/include/ctables.h +++ b/include/ctables.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __CTABLES_H__ -#define __CTABLES_H__ +#ifndef CTABLES_H +#define CTABLES_H /** Used to indicate command success codes */ diff --git a/include/cull_list.h b/include/cull_list.h index bf12cc6d8..a9e99385a 100644 --- a/include/cull_list.h +++ b/include/cull_list.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __CULLLIST_H__ -#define __CULLLIST_H__ +#ifndef CULLLIST_H +#define CULLLIST_H /** * The CullList class is used to delete objects at the end of the main loop to diff --git a/include/dns.h b/include/dns.h index b22a2032e..0e11f0d17 100644 --- a/include/dns.h +++ b/include/dns.h @@ -29,8 +29,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#ifndef _DNS_H -#define _DNS_H +#ifndef DNS_H +#define DNS_H #include "socket.h" #include "hashcomp.h" diff --git a/include/dynamic.h b/include/dynamic.h index 01bdcdec5..b12581171 100644 --- a/include/dynamic.h +++ b/include/dynamic.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __DLL_H -#define __DLL_H +#ifndef DLL_H +#define DLL_H /** The DLLManager class is able to load a module file by filename, * and locate its init_module symbol. diff --git a/include/exitcodes.h b/include/exitcodes.h index 1e6286495..5492d6117 100644 --- a/include/exitcodes.h +++ b/include/exitcodes.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __EXITCODE_H__ -#define __EXITCODE_H__ +#ifndef EXITCODE_H +#define EXITCODE_H /** Valid exit codes to be used with InspIRCd::Exit() */ diff --git a/include/filelogger.h b/include/filelogger.h index 731a6dcad..6612a559b 100644 --- a/include/filelogger.h +++ b/include/filelogger.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __LOG_H__ -#define __LOG_H__ +#ifndef LOG_H +#define LOG_H #include "logger.h" diff --git a/include/hashcomp.h b/include/hashcomp.h index 07ec49a66..3042e366c 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef _HASHCOMP_H_ -#define _HASHCOMP_H_ +#ifndef HASHCOMP_H +#define HASHCOMP_H #include #include diff --git a/include/inspircd.h b/include/inspircd.h index 9568750c2..d17920fd3 100644 --- a/include/inspircd.h +++ b/include/inspircd.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __INSPIRCD_H__ -#define __INSPIRCD_H__ +#ifndef INSPIRCD_H +#define INSPIRCD_H #define _FILE_OFFSET_BITS 64 #ifndef _LARGEFILE_SOURCE diff --git a/include/inspsocket.h b/include/inspsocket.h index f9d582637..07beb59c6 100644 --- a/include/inspsocket.h +++ b/include/inspsocket.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __INSP_SOCKET_H__ -#define __INSP_SOCKET_H__ +#ifndef INSP_SOCKET_H +#define INSP_SOCKET_H #include "timer.h" diff --git a/include/inspstring.h b/include/inspstring.h index b11739999..20b16202e 100644 --- a/include/inspstring.h +++ b/include/inspstring.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __IN_INSPSTRING_H -#define __IN_INSPSTRING_H +#ifndef IN_INSPSTRING_H +#define IN_INSPSTRING_H // This (inspircd_config) is needed as inspstring doesn't pull in the central header #include "inspircd_config.h" diff --git a/include/logger.h b/include/logger.h index 0e1bab4a3..6168bedef 100644 --- a/include/logger.h +++ b/include/logger.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __LOGMANAGER_H -#define __LOGMANAGER_H +#ifndef LOGMANAGER_H +#define LOGMANAGER_H /** This class implements a nonblocking writer. * Most people writing an ircd give little thought to their disk diff --git a/include/membership.h b/include/membership.h index 4ddb644dc..e71c676b9 100644 --- a/include/membership.h +++ b/include/membership.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __MEMBERSHIP_H__ -#define __MEMBERSHIP_H__ +#ifndef MEMBERSHIP_H +#define MEMBERSHIP_H class CoreExport Membership : public Extensible { diff --git a/include/mode.h b/include/mode.h index 87d79c7d5..904c5db27 100644 --- a/include/mode.h +++ b/include/mode.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __MODE_H -#define __MODE_H +#ifndef MODE_H +#define MODE_H #include "ctables.h" diff --git a/include/modules.h b/include/modules.h index 3601dd659..969565dcc 100644 --- a/include/modules.h +++ b/include/modules.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __MODULES_H -#define __MODULES_H +#ifndef MODULES_H +#define MODULES_H #include "dynamic.h" #include "base.h" diff --git a/include/numerics.h b/include/numerics.h index ad593f91e..7da6fc090 100644 --- a/include/numerics.h +++ b/include/numerics.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __NUMERICS_H -#define __NUMERICS_H +#ifndef NUMERICS_H +#define NUMERICS_H /* * This file is aimed providing a string that is easier to use than using the numeric diff --git a/include/protocol.h b/include/protocol.h index 03ede7ca8..89a913563 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __PROTOCOL_H__ -#define __PROTOCOL_H__ +#ifndef PROTOCOL_H +#define PROTOCOL_H #include "hashcomp.h" diff --git a/include/snomasks.h b/include/snomasks.h index d0062e162..a3c9e971e 100644 --- a/include/snomasks.h +++ b/include/snomasks.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __SNOMASKS_H__ -#define __SNOMASKS_H__ +#ifndef SNOMASKS_H +#define SNOMASKS_H class Snomask { diff --git a/include/socketengine.h b/include/socketengine.h index bba7bd399..0386ebd1d 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __SOCKETENGINE__ -#define __SOCKETENGINE__ +#ifndef SOCKETENGINE +#define SOCKETENGINE #include #include diff --git a/include/testsuite.h b/include/testsuite.h index 2760ffb44..7354a005c 100644 --- a/include/testsuite.h +++ b/include/testsuite.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __TESTSUITE_H__ -#define __TESTSUITE_H__ +#ifndef TESTSUITE_H +#define TESTSUITE_H class TestSuite { diff --git a/include/threadengine.h b/include/threadengine.h index 1be775238..c73dd19bf 100644 --- a/include/threadengine.h +++ b/include/threadengine.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __THREADENGINE__ -#define __THREADENGINE__ +#ifndef THREADENGINE +#define THREADENGINE #include #include diff --git a/include/threadengines/threadengine_pthread.h b/include/threadengines/threadengine_pthread.h index 6124f4cf9..d5c7696af 100644 --- a/include/threadengines/threadengine_pthread.h +++ b/include/threadengines/threadengine_pthread.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __THREADENGINE_PTHREAD__ -#define __THREADENGINE_PTHREAD__ +#ifndef THREADENGINE_PTHREAD +#define THREADENGINE_PTHREAD #include #include "typedefs.h" diff --git a/include/threadengines/threadengine_win32.h b/include/threadengines/threadengine_win32.h index f0f98bbce..23d3e9233 100644 --- a/include/threadengines/threadengine_win32.h +++ b/include/threadengines/threadengine_win32.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __THREADENGINE_WIN32THREAD__ -#define __THREADENGINE_WIN32THREAD__ +#ifndef THREADENGINE_WIN32THREAD +#define THREADENGINE_WIN32THREAD #include "inspircd_config.h" #include "base.h" diff --git a/include/typedefs.h b/include/typedefs.h index 5ca49493b..76fb929ca 100644 --- a/include/typedefs.h +++ b/include/typedefs.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __TYPEDEF_H__ -#define __TYPEDEF_H__ +#ifndef TYPEDEF_H +#define TYPEDEF_H class BanCacheManager; class BanItem; diff --git a/include/usermanager.h b/include/usermanager.h index 6fdddf115..c62b92705 100644 --- a/include/usermanager.h +++ b/include/usermanager.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __USERMANAGER_H -#define __USERMANAGER_H +#ifndef USERMANAGER_H +#define USERMANAGER_H #include diff --git a/include/users.h b/include/users.h index 73ef3624e..109644c87 100644 --- a/include/users.h +++ b/include/users.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __USERS_H__ -#define __USERS_H__ +#ifndef USERS_H +#define USERS_H #include "socket.h" #include "inspsocket.h" diff --git a/include/xline.h b/include/xline.h index 1d458ae68..f7495847f 100644 --- a/include/xline.h +++ b/include/xline.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __XLINE_H -#define __XLINE_H +#ifndef XLINE_H +#define XLINE_H /** XLine is the base class for ban lines such as G lines and K lines. * Modules may derive from this, and their xlines will automatically be -- cgit v1.2.3 From 9ebd9cba72056c5b36696e166826afb981f25ebb Mon Sep 17 00:00:00 2001 From: Justin Crawford Date: Sat, 14 Apr 2012 20:21:38 -0700 Subject: Fix some of the include guard names (requested by SaberUK) --- include/cull_list.h | 4 ++-- include/filelogger.h | 4 ++-- include/inspsocket.h | 4 ++-- include/inspstring.h | 4 ++-- include/logger.h | 4 ++-- include/socketengine.h | 4 ++-- include/threadengine.h | 4 ++-- include/threadengines/threadengine_pthread.h | 4 ++-- include/threadengines/threadengine_win32.h | 4 ++-- include/typedefs.h | 4 ++-- src/modules/m_cap.h | 4 ++-- src/modules/m_spanningtree/cachetimer.h | 4 ++-- src/modules/m_spanningtree/commands.h | 4 ++-- src/modules/m_spanningtree/link.h | 4 ++-- src/modules/m_spanningtree/main.h | 4 ++-- src/modules/m_spanningtree/protocolinterface.h | 4 ++-- src/modules/m_spanningtree/resolvers.h | 4 ++-- src/modules/m_spanningtree/treeserver.h | 4 ++-- src/modules/m_spanningtree/treesocket.h | 4 ++-- src/modules/m_spanningtree/utils.h | 4 ++-- 20 files changed, 40 insertions(+), 40 deletions(-) (limited to 'include') diff --git a/include/cull_list.h b/include/cull_list.h index a9e99385a..8e2d5f2ab 100644 --- a/include/cull_list.h +++ b/include/cull_list.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef CULLLIST_H -#define CULLLIST_H +#ifndef CULL_LIST_H +#define CULL_LIST_H /** * The CullList class is used to delete objects at the end of the main loop to diff --git a/include/filelogger.h b/include/filelogger.h index 6612a559b..45c96bc9f 100644 --- a/include/filelogger.h +++ b/include/filelogger.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef LOG_H -#define LOG_H +#ifndef FILELOGGER_H +#define FILELOGGER_H #include "logger.h" diff --git a/include/inspsocket.h b/include/inspsocket.h index 07beb59c6..71c2a06d9 100644 --- a/include/inspsocket.h +++ b/include/inspsocket.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef INSP_SOCKET_H -#define INSP_SOCKET_H +#ifndef INSPSOCKET_H +#define INSPSOCKET_H #include "timer.h" diff --git a/include/inspstring.h b/include/inspstring.h index 20b16202e..da3766241 100644 --- a/include/inspstring.h +++ b/include/inspstring.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef IN_INSPSTRING_H -#define IN_INSPSTRING_H +#ifndef INSPSTRING_H +#define INSPSTRING_H // This (inspircd_config) is needed as inspstring doesn't pull in the central header #include "inspircd_config.h" diff --git a/include/logger.h b/include/logger.h index 6168bedef..f6f2f1e4f 100644 --- a/include/logger.h +++ b/include/logger.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef LOGMANAGER_H -#define LOGMANAGER_H +#ifndef LOGGER_H +#define LOGGER_H /** This class implements a nonblocking writer. * Most people writing an ircd give little thought to their disk diff --git a/include/socketengine.h b/include/socketengine.h index 0386ebd1d..9b7ccbf1f 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef SOCKETENGINE -#define SOCKETENGINE +#ifndef SOCKETENGINE_H +#define SOCKETENGINE_H #include #include diff --git a/include/threadengine.h b/include/threadengine.h index c73dd19bf..3768f113c 100644 --- a/include/threadengine.h +++ b/include/threadengine.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef THREADENGINE -#define THREADENGINE +#ifndef THREADENGINE_H +#define THREADENGINE_H #include #include diff --git a/include/threadengines/threadengine_pthread.h b/include/threadengines/threadengine_pthread.h index d5c7696af..4a8ab241e 100644 --- a/include/threadengines/threadengine_pthread.h +++ b/include/threadengines/threadengine_pthread.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef THREADENGINE_PTHREAD -#define THREADENGINE_PTHREAD +#ifndef THREADENGINE_PTHREAD_H +#define THREADENGINE_PTHREAD_H #include #include "typedefs.h" diff --git a/include/threadengines/threadengine_win32.h b/include/threadengines/threadengine_win32.h index 23d3e9233..b6025d336 100644 --- a/include/threadengines/threadengine_win32.h +++ b/include/threadengines/threadengine_win32.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef THREADENGINE_WIN32THREAD -#define THREADENGINE_WIN32THREAD +#ifndef THREADENGINE_WIN32_H +#define THREADENGINE_WIN32_H #include "inspircd_config.h" #include "base.h" diff --git a/include/typedefs.h b/include/typedefs.h index 76fb929ca..ba811e714 100644 --- a/include/typedefs.h +++ b/include/typedefs.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef TYPEDEF_H -#define TYPEDEF_H +#ifndef TYPEDEFS_H +#define TYPEDEFS_H class BanCacheManager; class BanItem; diff --git a/src/modules/m_cap.h b/src/modules/m_cap.h index d37b50932..919075a0a 100644 --- a/src/modules/m_cap.h +++ b/src/modules/m_cap.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef CAP_H -#define CAP_H +#ifndef M_CAP_H +#define M_CAP_H #include #include diff --git a/src/modules/m_spanningtree/cachetimer.h b/src/modules/m_spanningtree/cachetimer.h index 1b370aa0b..7b68f5779 100644 --- a/src/modules/m_spanningtree/cachetimer.h +++ b/src/modules/m_spanningtree/cachetimer.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef TIMESYNC_H -#define TIMESYNC_H +#ifndef M_SPANNINGTREE_CACHETIMER_H +#define M_SPANNINGTREE_CACHETIMER_H #include "timer.h" diff --git a/src/modules/m_spanningtree/commands.h b/src/modules/m_spanningtree/commands.h index 0a0193c2f..358acaa29 100644 --- a/src/modules/m_spanningtree/commands.h +++ b/src/modules/m_spanningtree/commands.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef COMMANDS_H -#define COMMANDS_H +#ifndef M_SPANNINGTREE_COMMANDS_H +#define M_SPANNINGTREE_COMMANDS_H #include "main.h" diff --git a/src/modules/m_spanningtree/link.h b/src/modules/m_spanningtree/link.h index 1ca73c69d..942389167 100644 --- a/src/modules/m_spanningtree/link.h +++ b/src/modules/m_spanningtree/link.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef LINK_H -#define LINK_H +#ifndef M_SPANNINGTREE_LINK_H +#define M_SPANNINGTREE_LINK_H class Link : public refcountbase { diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h index 44abd452f..735c31049 100644 --- a/src/modules/m_spanningtree/main.h +++ b/src/modules/m_spanningtree/main.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef ST_MAIN -#define ST_MAIN +#ifndef M_SPANNINGTREE_MAIN_H +#define M_SPANNINGTREE_MAIN_H #include "inspircd.h" #include diff --git a/src/modules/m_spanningtree/protocolinterface.h b/src/modules/m_spanningtree/protocolinterface.h index ed421ad6e..7559897bd 100644 --- a/src/modules/m_spanningtree/protocolinterface.h +++ b/src/modules/m_spanningtree/protocolinterface.h @@ -1,5 +1,5 @@ -#ifndef SPANNINGTREE_PROTOCOL_INT -#define SPANNINGTREE_PROTOCOL_INT +#ifndef M_SPANNINGTREE_PROTOCOLINTERFACE_H +#define M_SPANNINGTREE_PROTOCOLINTERFACE_H class SpanningTreeUtilities; class ModuleSpanningTree; diff --git a/src/modules/m_spanningtree/resolvers.h b/src/modules/m_spanningtree/resolvers.h index f69a9bc3c..af22331f1 100644 --- a/src/modules/m_spanningtree/resolvers.h +++ b/src/modules/m_spanningtree/resolvers.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef RESOLVERS_H -#define RESOLVERS_H +#ifndef M_SPANNINGTREE_RESOLVERS_H +#define M_SPANNINGTREE_RESOLVERS_H #include "socket.h" #include "inspircd.h" diff --git a/src/modules/m_spanningtree/treeserver.h b/src/modules/m_spanningtree/treeserver.h index e7fbac619..65d095c5a 100644 --- a/src/modules/m_spanningtree/treeserver.h +++ b/src/modules/m_spanningtree/treeserver.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef TREESERVER_H -#define TREESERVER_H +#ifndef M_SPANNINGTREE_TREESERVER_H +#define M_SPANNINGTREE_TREESERVER_H #include "treesocket.h" diff --git a/src/modules/m_spanningtree/treesocket.h b/src/modules/m_spanningtree/treesocket.h index 00a730622..80f9e0798 100644 --- a/src/modules/m_spanningtree/treesocket.h +++ b/src/modules/m_spanningtree/treesocket.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef TREESOCKET_H -#define TREESOCKET_H +#ifndef M_SPANNINGTREE_TREESOCKET_H +#define M_SPANNINGTREE_TREESOCKET_H #include "socket.h" #include "inspircd.h" diff --git a/src/modules/m_spanningtree/utils.h b/src/modules/m_spanningtree/utils.h index 36fec43ef..2543eb04f 100644 --- a/src/modules/m_spanningtree/utils.h +++ b/src/modules/m_spanningtree/utils.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef ST__UTIL -#define ST__UTIL +#ifndef M_SPANNINGTREE_UTILS_H +#define M_SPANNINGTREE_UTILS_H #include "inspircd.h" -- cgit v1.2.3