aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2004-06-18 19:52:04 +0000
committerMatthias Andree <matthias.andree@gmx.de>2004-06-18 19:52:04 +0000
commit5ffe6f98f8ba802ccd973724702a2d44757c4291 (patch)
treede590260d5ec6b2b18a8d69b55a252a9bcdc8af0
parent3c25e877da7ba4a11e0c9bd5f65f8857cb8f272b (diff)
downloadfetchmail-5ffe6f98f8ba802ccd973724702a2d44757c4291.tar.gz
fetchmail-5ffe6f98f8ba802ccd973724702a2d44757c4291.tar.bz2
fetchmail-5ffe6f98f8ba802ccd973724702a2d44757c4291.zip
Fix various compiler warnings.
svn path=/trunk/; revision=3900
-rw-r--r--fetchmail.h4
-rw-r--r--md5.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/fetchmail.h b/fetchmail.h
index 8f016ad3..c9d273ea 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -20,6 +20,8 @@
# endif
#endif
+#include <stdio.h>
+
/* constants designating the various supported protocols */
#define P_AUTO 1
#define P_POP2 2
@@ -659,7 +661,7 @@ void itimerthread(void*);
# if HAVE_STRERROR
# ifndef strerror /* On some systems, strerror is a macro */
-char *strerror ();
+char *strerror (int);
# endif
# endif /* HAVE_STRERROR */
diff --git a/md5.h b/md5.h
index 715f3200..146ff59d 100644
--- a/md5.h
+++ b/md5.h
@@ -23,6 +23,8 @@ void MD5Update(struct MD5Context *context, unsigned char const *buf,
void MD5Final(unsigned char digest[16], struct MD5Context *context);
void MD5Transform(uint32 buf[4], uint32 const in[16]);
+char *MD5Digest (unsigned char *s);
+
/*
* This is needed to make RSAREF happy on some MS-DOS compilers.
*/