summaryrefslogtreecommitdiff
path: root/src/time/gmtime_s.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-30 15:58:39 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-30 15:58:39 -0500
commit178bc0e627d6fa3be9d18d40ba8828604ce71134 (patch)
treee96dcbaa6500450c6c7b0d2ac43d043060ab2346 /src/time/gmtime_s.c
parentbafccb2f57ac1a1852be2d6aafe33cf02d1630c1 (diff)
update standards and safety checks
Diffstat (limited to 'src/time/gmtime_s.c')
-rw-r--r--src/time/gmtime_s.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/time/gmtime_s.c b/src/time/gmtime_s.c
index e8cb6a9c..2eb02309 100644
--- a/src/time/gmtime_s.c
+++ b/src/time/gmtime_s.c
@@ -1,12 +1,13 @@
-#if 0
-
#include <time.h>
+#include "_safety.h"
/** convert arithmetic time to borken down time **/
struct tm * gmtime_s(const time_t * restrict timer, struct tm * restrict result)
{
- __C_EXT(1, 201112L);
/* TODO */
+ SIGNAL_SAFE(0);
+ (void)timer; (void)result;
+
return NULL;
}
@@ -26,6 +27,3 @@ type(struct tm).
/*
CEXT1(201112)
*/
-
-
-#endif