Tue Aug 18 00:42:33 EDT 1998 Nathan Bryant <bryant@cs.usm.maine.edu>
[citadel.git] / citadel / mailinglist.c
index a9817fcc7c934132864d25153471f571d9761a77..b8e5572d95f8157201a9519bdfbe2b137a1e86be 100644 (file)
 #include <unistd.h>
 #include <stdio.h>
 #include <syslog.h>
+#include <string.h>
 #include "citadel.h"
 
-void LoadInternetConfig();
-void get_config();
+void LoadInternetConfig(void);
+void get_config(void);
 struct config config;
 
 char ALIASES[128];
@@ -41,9 +42,9 @@ int RUN_NETPROC = 1;
  * Consult the mailinglists table to find out where we should send the
  * mailing list postings to.
  */
-void xref(room,listaddr)               /* xref table */
-char room[]; 
-char listaddr[]; {
+void xref(char *room, char *listaddr)          /* xref table */
+             
+                 {
        FILE *fp;
        int a;
        char buf[128];
@@ -67,7 +68,7 @@ char listaddr[]; {
 /*
  * The main loop.  We don't need any command-line parameters to this program.
  */
-void main() {
+void main(void) {
 
        char header[3];
        char fields[32][1024];