about summary refs log tree commit diff
path: root/src/time/asctime_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/asctime_r.c')
-rw-r--r--src/time/asctime_r.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/time/asctime_r.c b/src/time/asctime_r.c
new file mode 100644
index 00000000..e51b8804
--- /dev/null
+++ b/src/time/asctime_r.c
@@ -0,0 +1,8 @@
+#include <time.h>
+
+char *__asctime(const struct tm *, char *);
+
+char *asctime_r(const struct tm *tm, char *buf)
+{
+	return __asctime(tm, buf);
+}