summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2004-01-29 14:00:30 (GMT)
committerBrad King <brad.king@kitware.com>2004-01-29 14:00:30 (GMT)
commiteea07a2f64f25fab7a29a01d1539c5f6dc2ad289 (patch)
treee363b5aae567cbf2edef0e452dd8205fd0699261
parent9b8ca5853898a1671c08f4350471f3575da50b6d (diff)
downloadCMake-eea07a2f64f25fab7a29a01d1539c5f6dc2ad289.zip
CMake-eea07a2f64f25fab7a29a01d1539c5f6dc2ad289.tar.gz
CMake-eea07a2f64f25fab7a29a01d1539c5f6dc2ad289.tar.bz2
ERR: Fixed prototypes of gmtime, localtime, and mktime.
-rw-r--r--Source/CTest/Curl/getdate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/Curl/getdate.c b/Source/CTest/Curl/getdate.c
index 45d1dcd..5ab79e3 100644
--- a/Source/CTest/Curl/getdate.c
+++ b/Source/CTest/Curl/getdate.c
@@ -1535,9 +1535,9 @@ yyerrhandle:
#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 ();
+extern struct tm *gmtime (const time_t *timer);
+extern struct tm *localtime (const time_t *timer);
+extern time_t mktime (struct tm *timeptr);
#endif
/* Month and day table. */