aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2004-10-20 09:14:04 +0000
committerMatthias Andree <matthias.andree@gmx.de>2004-10-20 09:14:04 +0000
commit334cb452bfee4d0511f9591292903d01f58efaf9 (patch)
tree21d7baddc9b7fde16dfa1c315693623649144083 /pop3.c
parent65f9c5e8d026830b0fbd2583007c507e5e6e2b78 (diff)
downloadfetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.tar.gz
fetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.tar.bz2
fetchmail-334cb452bfee4d0511f9591292903d01f58efaf9.zip
Fix miscellaneous warnings.
svn path=/trunk/; revision=3953
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/pop3.c b/pop3.c
index ee2b9d40..826309c3 100644
--- a/pop3.c
+++ b/pop3.c
@@ -25,10 +25,6 @@
#include <opie.h>
#endif /* OPIE_ENABLE */
-#ifndef strstr /* glibc-2.1 declares this as a macro */
-extern char *strstr(const char *, const char *); /* needed on sysV68 R3V7.1. */
-#endif /* strstr */
-
static int last;
#ifdef SDPS_ENABLE
char *sdps_envfrom;
@@ -46,12 +42,12 @@ static char lastok[POPBUFSIZE+1];
#if defined(KERBEROS_V4) || defined(KERBEROS_V5)
flag has_kerberos = FALSE;
#endif /* defined(KERBEROS_V4) || defined(KERBEROS_V5) */
- flag has_cram = FALSE;
+ static flag has_cram = FALSE;
#ifdef OPIE_ENABLE
flag has_otp = FALSE;
#endif /* OPIE_ENABLE */
#ifdef SSL_ENABLE
- flag has_ssl = FALSE;
+ static flag has_ssl = FALSE;
#endif /* SSL_ENABLE */
#ifdef NTLM_ENABLE