mirror of
https://github.com/curl/curl.git
synced 2026-05-30 17:37:28 +03:00
extern declarations no longer done on windows (T. Bharath's patch)
This commit is contained in:
parent
4034f31823
commit
aace68c91b
2 changed files with 4 additions and 0 deletions
|
|
@ -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[] = {
|
||||
|
|
|
|||
|
|
@ -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, ...)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue