mirror of
https://github.com/moparisthebest/curl
synced 2025-03-11 07:39:50 -04:00
extern declarations no longer done on windows (T. Bharath's patch)
This commit is contained in:
parent
4034f31823
commit
aace68c91b
@ -477,9 +477,11 @@ o_merid : /* NULL */
|
|||||||
the same signature as the function definition does. */
|
the same signature as the function definition does. */
|
||||||
#include "getdate.h"
|
#include "getdate.h"
|
||||||
|
|
||||||
|
#ifndef WIN32 /* the windows dudes don't need these, does anyone really? */
|
||||||
extern struct tm *gmtime ();
|
extern struct tm *gmtime ();
|
||||||
extern struct tm *localtime ();
|
extern struct tm *localtime ();
|
||||||
extern time_t mktime ();
|
extern time_t mktime ();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Month and day table. */
|
/* Month and day table. */
|
||||||
static TABLE const MonthDayTable[] = {
|
static TABLE const MonthDayTable[] = {
|
||||||
|
@ -1151,7 +1151,9 @@ int curl_msprintf(char *buffer, const char *format, ...)
|
|||||||
return retcode;
|
return retcode;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef WIN32 /* not needed on win32 */
|
||||||
extern int fputc(int, FILE *);
|
extern int fputc(int, FILE *);
|
||||||
|
#endif
|
||||||
|
|
||||||
int curl_mprintf(const char *format, ...)
|
int curl_mprintf(const char *format, ...)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user