diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-26 22:21:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-26 22:21:16 +0000 |
commit | eabdfb5e1ebf83147017c57db3659e7b2e8ecad1 (patch) | |
tree | 338308dc0519869dd03d3ae33071d3ef6fa8cd67 /pop3.c | |
parent | d59e69783b91feb5d3ee5d2ba802c279ecf021c5 (diff) | |
download | fetchmail-eabdfb5e1ebf83147017c57db3659e7b2e8ecad1.tar.gz fetchmail-eabdfb5e1ebf83147017c57db3659e7b2e8ecad1.tar.bz2 fetchmail-eabdfb5e1ebf83147017c57db3659e7b2e8ecad1.zip |
gcc -Wall cleanup.
svn path=/trunk/; revision=396
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -7,6 +7,13 @@ #include <config.h> #include <stdio.h> #include <string.h> +#include <ctype.h> +#if defined(HAVE_UNISTD_H) +#include <unistd.h> +#endif +#if defined(STDC_HEADERS) +#include <stdlib.h> +#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; |