1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 19:37:36 +00:00

LibC: Time-related POSIX compliance fixes.

This commit is contained in:
Andreas Kling 2019-03-27 01:31:53 +01:00
parent abd5931184
commit aef6030a80
7 changed files with 19 additions and 3 deletions

View file

@ -27,7 +27,9 @@ extern long altzone;
extern char* tzname[2];
extern int daylight;
int gettimeofday(struct timeval*, struct timezone* tz);
typedef uint32_t clock_t;
typedef uint32_t time_t;
struct tm* localtime(const time_t*);
struct tm *gmtime(const time_t*);
time_t mktime(struct tm*);