From 178bc0e627d6fa3be9d18d40ba8828604ce71134 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 30 Jan 2024 15:58:39 -0500 Subject: update standards and safety checks --- src/time/ctime.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/time/ctime.c') 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 +#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 -- cgit v1.2.1