Commit aace68c9 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

parent 4034f318
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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[] = {
+2 −0
Original line number Diff line number Diff line
@@ -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, ...)
{