# HG changeset patch # User Kim F. Storm # Date 1041809939 0 # Node ID 2990b2f8bfb59643b4511f809325e12bd6e0a1e3 # Parent b2e3d1cdce6330b906945aa7d33824a227e0dd6b (__P): Renamed from _P to avoid problems on Cygwin. All uses changed. diff -r b2e3d1cdce63 -r 2990b2f8bfb5 lib-src/pop.c --- a/lib-src/pop.c Sun Jan 05 23:37:41 2003 +0000 +++ b/lib-src/pop.c Sun Jan 05 23:38:59 2003 +0000 @@ -119,24 +119,24 @@ #endif #endif -#ifndef _P +#ifndef __P # ifdef __STDC__ -# define _P(a) a +# define __P(a) a # else -# define _P(a) () +# define __P(a) () # endif /* __STDC__ */ #endif /* ! __P */ -static int socket_connection _P((char *, int)); -static int pop_getline _P((popserver, char **)); -static int sendline _P((popserver, char *)); -static int fullwrite _P((int, char *, int)); -static int getok _P((popserver)); +static int socket_connection __P((char *, int)); +static int pop_getline __P((popserver, char **)); +static int sendline __P((popserver, char *)); +static int fullwrite __P((int, char *, int)); +static int getok __P((popserver)); #if 0 -static int gettermination _P((popserver)); +static int gettermination __P((popserver)); #endif -static void pop_trash _P((popserver)); -static char *find_crlf _P((char *, int)); +static void pop_trash __P((popserver)); +static char *find_crlf __P((char *, int)); #define ERROR_MAX 160 /* a pretty arbitrary size, but needs to be bigger than the original