diff options
Diffstat (limited to 'libc-top-half/musl/src/time/localtime.c')
-rw-r--r-- | libc-top-half/musl/src/time/localtime.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/time/localtime.c b/libc-top-half/musl/src/time/localtime.c new file mode 100644 index 0000000..5210423 --- /dev/null +++ b/libc-top-half/musl/src/time/localtime.c @@ -0,0 +1,7 @@ +#include "time_impl.h" + +struct tm *localtime(const time_t *t) +{ + static struct tm tm; + return __localtime_r(t, &tm); +} |