summaryrefslogtreecommitdiff
path: root/src/time/asctime.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time/asctime.c')
-rw-r--r--src/time/asctime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/time/asctime.c b/src/time/asctime.c
index 3102eb87..57d15fe0 100644
--- a/src/time/asctime.c
+++ b/src/time/asctime.c
@@ -1,9 +1,9 @@
#include <time.h>
-char *__asctime(const struct tm *, char *);
+char *__asctime_r(const struct tm *, char *);
char *asctime(const struct tm *tm)
{
static char buf[26];
- return __asctime(tm, buf);
+ return __asctime_r(tm, buf);
}