diff options
Diffstat (limited to 'src/time/ctime.c')
| -rw-r--r-- | src/time/ctime.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/time/ctime.c b/src/time/ctime.c index 6502c0ab..4d0402a5 100644 --- a/src/time/ctime.c +++ b/src/time/ctime.c @@ -1,11 +1,12 @@ -#if 0 - #include <time.h> +#include "_safety.h" /** convert arithmetic time to string **/ char * ctime(const time_t * timer) { + SIGNAL_SAFE(0); + #ifdef _POSIX_SOURCE tzset(); #endif @@ -22,6 +23,3 @@ FUNCTION(asctime). RETURN_ALWAYS(a pointer to the string) STDC(1) */ - - -#endif |
