From eabdfb5e1ebf83147017c57db3659e7b2e8ecad1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 26 Oct 1996 22:21:16 +0000 Subject: gcc -Wall cleanup. svn path=/trunk/; revision=396 --- pop3.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'pop3.c') diff --git a/pop3.c b/pop3.c index a52838af..30430afb 100644 --- a/pop3.c +++ b/pop3.c @@ -7,6 +7,13 @@ #include #include #include +#include +#if defined(HAVE_UNISTD_H) +#include +#endif +#if defined(STDC_HEADERS) +#include +#endif #include "socket.h" #include "fetchmail.h" @@ -60,8 +67,6 @@ int socket; struct query *ctl; char *greeting; { - char buf [POPBUFSIZE+1]; - /* build MD5 digest from greeting timestamp + password */ if (ctl->protocol == P_APOP) { @@ -117,7 +122,7 @@ char *greeting; return(0); } -static pop3_getrange(socket, ctl, countp, newp) +static int pop3_getrange(socket, ctl, countp, newp) /* get range of messages to be fetched */ int socket; struct query *ctl; @@ -255,7 +260,7 @@ int *lenp; return(0); } -static pop3_delete(socket, ctl, number) +static int pop3_delete(socket, ctl, number) /* delete a given message */ int socket; struct query *ctl; -- cgit v1.2.3