]> code.citadel.org Git - citadel.git/commitdiff
remove duplicated declarations
authorNathan Bryant <loanshark@uncensored.citadel.org>
Tue, 25 Aug 1998 23:52:30 +0000 (23:52 +0000)
committerNathan Bryant <loanshark@uncensored.citadel.org>
Tue, 25 Aug 1998 23:52:30 +0000 (23:52 +0000)
citadel/serv_chat.c
citadel/stats.c
citadel/sysdep.c

index ea34b2206710db5e04a5879c87023103b776a948..d22f5ec9ef2e0a6b4eca14659fbd729638e5adbf 100644 (file)
@@ -20,9 +20,7 @@
 #include "sysdep_decls.h"
 #include "citserver.h"
 #include "support.h"
-
-extern struct config config;
-extern struct CitContext *ContextList;
+#include "config.h"
 
 struct ChatLine *ChatQueue = NULL;
 int ChatLastMsg = 0;
index 0d7f4ce169353f5492dc32d291eaa9ebc4a10093..d3f952846a09fdeb5d5469538540712c88ecc7b4 100644 (file)
@@ -7,7 +7,9 @@
 #include <stdio.h>
 #include <errno.h>
 #include <string.h>
+#include <limits.h>
 #include "citadel.h"
+#include "config.h"
 
 #define disply(x,y) printf("%20s            %4.1f    %4.1f    %4d\n",x,((float)y)/calls,((float)y)/days,y)
 
@@ -22,9 +24,6 @@ struct caller
     int Ctimescalled;
   };
 
-void get_config (void);
-struct config config;
-
 
 void
 prompt (void)
index 01a54cf592d3e008fff7009b95675791b8fb52a0..b9a4011cc6c289f5c52e49ce7484375077425da8 100644 (file)
 #include <sys/select.h>
 #endif
 
-extern struct CitContext *ContextList;
-extern struct config config;
-extern char bbs_home_directory[];
-extern int home_specified;
-
 pthread_mutex_t Critters[MAX_SEMAPHORES];      /* Things needing locking */
 pthread_key_t MyConKey;                                /* TSD key for MyContext() */