summaryrefslogtreecommitdiff
path: root/src/time/localtime_s.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/localtime_s.c')
-rw-r--r--src/time/localtime_s.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/time/localtime_s.c b/src/time/localtime_s.c
index bce984b6..c444b464 100644
--- a/src/time/localtime_s.c
+++ b/src/time/localtime_s.c
@@ -1,12 +1,11 @@
-#if 0
-
#include <time.h>
+#include "_safety.h"
/** convert arithmetic time to broken down time **/
struct tm * localtime_s(const time_t * restrict timer, struct tm * restrict result)
{
- __C_EXT(1, 201112L);
- /* TODO */
+ SIGNAL_SAFE(0);
+ (void)timer; (void)result;
return NULL;
}
@@ -25,6 +24,3 @@ out type(struct tm).
/*
CEXT1(201112)
*/
-
-
-#endif