use internal malloc for posix_spawn file actions objects
[musl] / src / time / asctime.c
index 3102eb8..1febe54 100644 (file)
@@ -1,9 +1,7 @@
 #include <time.h>
 
-char *__asctime(const struct tm *, char *);
-
 char *asctime(const struct tm *tm)
 {
        static char buf[26];
-       return __asctime(tm, buf);
+       return __asctime_r(tm, buf);
 }