extern declarations no longer done on windows (T. Bharath's patch)

This commit is contained in:
Daniel Stenberg 2001-08-24 07:39:15 +00:00
parent 4034f31823
commit aace68c91b
2 changed files with 4 additions and 0 deletions

View File

@ -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[] = {

View File

@ -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, ...)
{