summaryrefslogtreecommitdiff
path: root/src/time/gmtime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/gmtime.c')
-rw-r--r--src/time/gmtime.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/time/gmtime.c b/src/time/gmtime.c
index d1660c6f..3ed5081a 100644
--- a/src/time/gmtime.c
+++ b/src/time/gmtime.c
@@ -1,7 +1,5 @@
-#if 0
-
#include <time.h>
-#include "_assert.h"
+#include "_safety.h"
#include "_time.h"
/** convert arithmetic time to broken down time **/
@@ -12,6 +10,7 @@ struct tm * gmtime(const time_t * timer)
time_t seconds = 0;
int days = 0;
+ SIGNAL_SAFE(0);
ASSERT_NONNULL(timer);
seconds = *timer;
@@ -61,6 +60,3 @@ RETURN_FAILURE(CONSTANT(NULL))
RETURN_SUCCESS(a pointer to the converted time)
STDC(1)
*/
-
-
-#endif