Mercurial > hg > xemacs-beta
diff lib-src/gnuserv.c @ 2286:04bc9d2f42c7
[xemacs-hg @ 2004-09-20 19:18:55 by james]
Mark all unused parameters as unused. Also eliminate some unneeded local
variables.
author | james |
---|---|
date | Mon, 20 Sep 2004 19:20:08 +0000 |
parents | 943eaba38521 |
children | e6508b64ee08 061f4f90f874 |
line wrap: on
line diff
--- a/lib-src/gnuserv.c Mon Sep 20 19:11:29 2004 +0000 +++ b/lib-src/gnuserv.c Mon Sep 20 19:20:08 2004 +0000 @@ -59,9 +59,11 @@ #include <string.h> #endif /* HAVE_STRING_H */ +#include "compiler.h" + #if !defined(SYSV_IPC) && !defined(UNIX_DOMAIN_SOCKETS) && \ !defined(INTERNET_DOMAIN_SOCKETS) -main () +int main () { fprintf (stderr,"Sorry, the Emacs server is only supported on systems that have\n"); fprintf (stderr,"Unix Domain sockets, Internet Domain sockets or System V IPC\n"); @@ -855,7 +857,7 @@ int -main (int argc, char *argv[]) +main (int UNUSED (argc), char *argv[]) { int chan; /* temporary channel number */ #ifdef SYSV_IPC