From aace68c91bc687345e4baa32814bce2d0f1e9f60 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 24 Aug 2001 07:39:15 +0000 Subject: extern declarations no longer done on windows (T. Bharath's patch) --- lib/getdate.y | 2 ++ lib/mprintf.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/getdate.y b/lib/getdate.y index 32749db59..8afd6fa9c 100644 --- a/lib/getdate.y +++ b/lib/getdate.y @@ -477,9 +477,11 @@ o_merid : /* NULL */ the same signature as the function definition does. */ #include "getdate.h" +#ifndef WIN32 /* the windows dudes don't need these, does anyone really? */ extern struct tm *gmtime (); extern struct tm *localtime (); extern time_t mktime (); +#endif /* Month and day table. */ static TABLE const MonthDayTable[] = { diff --git a/lib/mprintf.c b/lib/mprintf.c index 91f10fcb0..6e28d2b32 100644 --- a/lib/mprintf.c +++ b/lib/mprintf.c @@ -1151,7 +1151,9 @@ int curl_msprintf(char *buffer, const char *format, ...) return retcode; } +#ifndef WIN32 /* not needed on win32 */ extern int fputc(int, FILE *); +#endif int curl_mprintf(const char *format, ...) { -- cgit v1.2.3