summaryrefslogtreecommitdiff
path: root/lib-src/pop.c
diff options
context:
space:
mode:
authorKim F. Storm <storm@cua.dk>2003-01-05 23:38:59 +0000
committerKim F. Storm <storm@cua.dk>2003-01-05 23:38:59 +0000
commit1cb12638f3a6562652e0ae3f1daeab60f7590b89 (patch)
tree7976cb03e3c54148d7cb626d0f1ccd4dbc5b7f37 /lib-src/pop.c
parent207aa3ffcbaa924382620c5974644cbf6670f032 (diff)
downloademacs-1cb12638f3a6562652e0ae3f1daeab60f7590b89.tar.gz
(__P): Renamed from _P to avoid problems on Cygwin.
All uses changed.
Diffstat (limited to 'lib-src/pop.c')
-rw-r--r--lib-src/pop.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib-src/pop.c b/lib-src/pop.c
index 9ced4776095..46a60195aff 100644
--- a/lib-src/pop.c
+++ b/lib-src/pop.c
@@ -119,24 +119,24 @@ extern int h_errno;
#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