aboutsummaryrefslogtreecommitdiffstats
path: root/pop2.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-26 22:21:16 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-26 22:21:16 +0000
commiteabdfb5e1ebf83147017c57db3659e7b2e8ecad1 (patch)
tree338308dc0519869dd03d3ae33071d3ef6fa8cd67 /pop2.c
parentd59e69783b91feb5d3ee5d2ba802c279ecf021c5 (diff)
downloadfetchmail-eabdfb5e1ebf83147017c57db3659e7b2e8ecad1.tar.gz
fetchmail-eabdfb5e1ebf83147017c57db3659e7b2e8ecad1.tar.bz2
fetchmail-eabdfb5e1ebf83147017c57db3659e7b2e8ecad1.zip
gcc -Wall cleanup.
svn path=/trunk/; revision=396
Diffstat (limited to 'pop2.c')
-rw-r--r--pop2.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/pop2.c b/pop2.c
index 208a3f21..e1804660 100644
--- a/pop2.c
+++ b/pop2.c
@@ -8,6 +8,9 @@
#include <config.h>
#include <stdio.h>
+#if defined(STDC_HEADERS)
+#include <stdlib.h>
+#endif
#include "socket.h"
#include "fetchmail.h"
@@ -63,7 +66,7 @@ char *buf;
ctl->remotename, ctl->password));
}
-static pop2_getrange(socket, ctl, countp, newp)
+static int pop2_getrange(socket, ctl, countp, newp)
/* get range of messages to be fetched */
int socket;
struct query *ctl;
@@ -112,7 +115,7 @@ int *lenp;
return(ok);
}
-static pop2_trail(socket, ctl, number)
+static int pop2_trail(socket, ctl, number)
/* send acknowledgement for message data */
int socket;
struct query *ctl;