]> Zhao Yanbai Git Server - minix.git/commitdiff
Add prototypes for a bunch of time-related functions. Surprisingly,
authorKees van Reeuwijk <reeuwijk@few.vu.nl>
Tue, 9 Mar 2010 22:10:58 +0000 (22:10 +0000)
committerKees van Reeuwijk <reeuwijk@few.vu.nl>
Tue, 9 Mar 2010 22:10:58 +0000 (22:10 +0000)
they were in the implementation, but not in the header files.

include/time.h

index e013dd180d9eb3fbb54a074ee448e909558d3e14..fe2970dd93a7361f43b07fb2eaa3218ee3128397 100644 (file)
@@ -56,8 +56,11 @@ _PROTOTYPE( double difftime, (time_t _time1, time_t _time0)          );
 _PROTOTYPE( time_t mktime, (struct tm *_timeptr)                       );
 _PROTOTYPE( time_t time, (time_t *_timeptr)                            );
 _PROTOTYPE( char *asctime, (const struct tm *_timeptr)                 );
-_PROTOTYPE( char *ctime, (const time_t *_timer)                        );
+_PROTOTYPE( char *asctime_r, (const struct tm *_timeptr, char *buf)                    );
+_PROTOTYPE( char *ctime, (const time_t *_timer)                                );
+_PROTOTYPE( char *ctime_r, (const time_t *_timer, char *buf)                   );
 _PROTOTYPE( struct tm *gmtime, (const time_t *_timer)                  );
+_PROTOTYPE( struct tm *gmtime_r, (const time_t *_timer,struct tm *tmp)                 );
 _PROTOTYPE( struct tm *localtime, (const time_t *_timer)               );
 _PROTOTYPE( struct tm *localtime_r, (const time_t *const timep,
                                        struct tm *tmp)                 );