aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-24 07:39:15 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-24 07:39:15 +0000
commitaace68c91bc687345e4baa32814bce2d0f1e9f60 (patch)
treecb065d5d1296434a30b914f47b9e05bbda2d9013
parent4034f31823ddac3f839f54921c9898c36858c76f (diff)
extern declarations no longer done on windows (T. Bharath's patch)
-rw-r--r--lib/getdate.y2
-rw-r--r--lib/mprintf.c2
2 files changed, 4 insertions, 0 deletions
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, ...)
{