diff options
Diffstat (limited to 'src/time/localtime.c')
| -rw-r--r-- | src/time/localtime.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/time/localtime.c b/src/time/localtime.c index 310638c6..afcc35db 100644 --- a/src/time/localtime.c +++ b/src/time/localtime.c @@ -1,13 +1,13 @@ -#if 0 - #include <time.h> -#include "_assert.h" +#include "_safety.h" /** convert arithmetic time to broken down time **/ struct tm * localtime(const time_t * timer) { static struct tm tm = {0}; + + SIGNAL_SAFE(0); ASSERT_NONNULL(timer); #ifdef _POSIX_SOURCE @@ -28,6 +28,3 @@ converts the locale time at ARGUMENT(timer) to a filled out STRUCTDEF(tm). RETURN_ALWAYS(a pointer to the converted object) STDC(1) */ - - -#endif |
