X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2Fmodules.c;h=f48c41a0b2b0eda7a55987eda7522398057f807f;hp=325621e9da06820c4e47a371608cafa262b15bf4;hb=HEAD;hpb=1ec245405118cf7b3724b97c407104a75f5277c9 diff --git a/src/modules.c b/src/modules.c index 325621e..f48c41a 100644 --- a/src/modules.c +++ b/src/modules.c @@ -21,7 +21,9 @@ /* 000-001 */ #include "main.h" /* 002-004 */ #include "tools.h" -/* 005-006 */ /* deprecated */ +#ifdef ENABLE_MUTEX_DEBUG +/* 005-006 */ #include "mutexDebug.h" +#endif /* 007-009 */ /* main.h */ /* 010 */ #include "log.h" /* 011 */ /* main.h */ @@ -41,7 +43,9 @@ /* 099-102 */ #include "memoryDebug.h" #endif /* 103-106 */ #include "memoryInfo.h" -/* 107-125 */ #include "modcmd.h" +/* 107-122 */ #include "modcmd.h" +/* 123 */ /* deprecated */ +/* 124-125 */ /* modcmd.h */ /* 126-136 */ #include "ModeNode.h" /* 137-142 */ #include "mysqlConn.h" /* 143-149 */ #include "timeq.h" @@ -64,8 +68,13 @@ void *global_functions[] = { /* 002 */ (Function) getCurrentSecondsOfDay, /* 003 */ (Function) stricmp, /* 004 */ (Function) stricmplen, -/* 005 */ (Function) NULL, /* deprecated */ -/* 006 */ (Function) NULL, /* deprecated */ +#ifdef ENABLE_MUTEX_DEBUG +/* 005 */ (Function) xmutex, +/* 006 */ (Function) mutex_debug, +#else +/* 005 */ (Function) NULL, +/* 006 */ (Function) NULL, +#endif /* 007 */ (Function) restart_bot, /* 008 */ (Function) stop_bot, /* 009 */ (Function) reload_config,