X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fserv_network.c;h=1c8260b9b47497db60f36846499d87d6b284e541;hb=01cc19a4c2da27b4db0e980ccd3ca54d834319c8;hp=840ebd5088fc380f51ec2e97badf61384f12553f;hpb=03e37ac6a49a6c06b2f1e6aee1c6d1d01836ab07;p=citadel.git diff --git a/citadel/serv_network.c b/citadel/serv_network.c index 840ebd508..1c8260b9b 100644 --- a/citadel/serv_network.c +++ b/citadel/serv_network.c @@ -50,11 +50,9 @@ #include #include "citadel.h" #include "server.h" -#include "sysdep_decls.h" #include "citserver.h" #include "support.h" #include "config.h" -#include "serv_extensions.h" #include "room_ops.h" #include "user_ops.h" #include "policy.h" @@ -71,6 +69,11 @@ #include "snprintf.h" #endif + +#include "ctdl_module.h" + + + /* Nonzero while we are doing network processing */ static int doing_queue = 0; @@ -2064,7 +2067,7 @@ int network_room_handler (struct ctdlroom *room) /* * Module entry point */ -char *serv_network_init(void) +CTDL_MODULE_INIT(network) { create_spool_dirs(); CtdlRegisterProtoHook(cmd_gnet, "GNET", "Get network config");