summaryrefslogtreecommitdiffstats
path: root/include/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/time.h')
-rw-r--r--include/time.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h
index 884a2fb..0c119a3 100644
--- a/include/time.h
+++ b/include/time.h
@@ -100,6 +100,13 @@ time_t mktime __P((struct tm *));
size_t strftime __P((char *, size_t, const char *, const struct tm *));
time_t time __P((time_t *));
+#ifdef _THREAD_SAFE
+int asctime_r __P((const struct tm *, char *, int));
+int ctime_r __P((const time_t *, char *, int));
+int gmtime_r __P((const time_t *, struct tm *));
+int localtime_r __P((const time_t *, struct tm *));
+#endif
+
#ifndef _ANSI_SOURCE
void tzset __P((void));
#endif /* not ANSI */
OpenPOWER on IntegriCloud