+/* $Id$ */
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include "citadel.h"
-
-void attach_to_server(int argc, char **argv);
+#include "ipc.h"
/*
* num_parms() - discover number of parameters...
exit(code);
}
-void main(int argc, char **argv)
+int main(int argc, char **argv)
{
char buf[256];
char nodetitle[256];
serv_puts("QUIT");
serv_gets(buf);
- exit(0);
+ return 0;
}
-#ifdef NO_STRERROR
+#ifndef HAVE_STRERROR
/*
* replacement strerror() for systems that don't have it
*/