Mercurial > hg > xemacs-beta
diff lib-src/pop.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 | bdfcf05f635b |
line wrap: on
line diff
--- a/lib-src/pop.c Mon Sep 20 19:11:29 2004 +0000 +++ b/lib-src/pop.c Mon Sep 20 19:20:08 2004 +0000 @@ -44,6 +44,7 @@ #define CLOSESOCKET(s) close(s) #endif #include "pop.h" +#include "compiler.h" #ifdef sun #include <malloc.h> @@ -950,7 +951,13 @@ * into pop_error. */ static int -socket_connection (char *host, int flags) +socket_connection (char *host, +#if defined (KERBEROS) || defined (HESIOD) + int flags +#else + int UNUSED (flags) +#endif + ) { struct hostent *hostent; struct servent *servent;