X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fhousekeeping.c;h=b4d76e970cd7e3cac98ad37566e9e8aa4a27b19b;hb=ae822088bca5cce3d6c3ef7f6d312a6d5de7a77c;hp=e1c15e4924106d231ab1813bc6cc49747dc4d81f;hpb=318aa2adec10d6291ca684f3362c70ab89796cc3;p=citadel.git diff --git a/citadel/housekeeping.c b/citadel/housekeeping.c index e1c15e492..b4d76e970 100644 --- a/citadel/housekeeping.c +++ b/citadel/housekeeping.c @@ -15,6 +15,7 @@ #include "citadel.h" #include "server.h" #include "proto.h" +#include "citserver.h" /* * Terminate idle sessions. This function pounds through the session table @@ -42,7 +43,7 @@ void terminate_idle_sessions(void) { /* * Main housekeeping function. This gets run whenever a session terminates. */ -void do_housekeeping() { +void do_housekeeping(void) { begin_critical_section(S_HOUSEKEEPING); /* @@ -68,7 +69,7 @@ void do_housekeeping() { * Check (and fix) floor reference counts. This doesn't need to be done * very often, since the counts should remain correct during normal operation. */ -void check_ref_counts() { +void check_ref_counts(void) { int ref[MAXFLOORS]; struct quickroom qrbuf; struct floor flbuf;