diff --git a/src/kernel/libroot/posix/time/localtime.c b/src/kernel/libroot/posix/time/localtime.c index 56e4e63b48..e94ff2a39f 100644 --- a/src/kernel/libroot/posix/time/localtime.c +++ b/src/kernel/libroot/posix/time/localtime.c @@ -8,6 +8,11 @@ #include +// ToDo: implement those for real! + +long timezone = 0; + + struct tm * localtime_r(const time_t *_timer, struct tm *tm) { @@ -22,3 +27,11 @@ localtime(const time_t *_timer) return localtime_r(_timer, &tm); } + +struct tm * +gmtime(const time_t *_timer) +{ + // ToDo: fix me! + static struct tm tm; + return localtime_r(_timer, &tm); +}