Forráskód Böngészése

ERR: Fixed prototypes of gmtime, localtime, and mktime.

Brad King 22 éve
szülő
commit
eea07a2f64
1 módosított fájl, 3 hozzáadás és 3 törlés
  1. 3 3
      Source/CTest/Curl/getdate.c

+ 3 - 3
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. */