From: Daniel Stenberg Date: Fri, 24 Aug 2001 07:39:15 +0000 (+0000) Subject: extern declarations no longer done on windows (T. Bharath's patch) X-Git-Tag: before_urldata_rename~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aace68c91bc687345e4baa32814bce2d0f1e9f60;p=curl extern declarations no longer done on windows (T. Bharath's patch) --- 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, ...) {