X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Ftime%2Fasctime.c;h=1febe54409e4c601849a6cf28c0f3cf16947737a;hb=8ef9d46f4d0ff4f0073da6bee7ed0cb5f9035ead;hp=3102eb87388c0dea83cd01b115ee15a392e9a6a8;hpb=0b44a0315b47dd8eced9f3b7f31580cf14bbfc01;p=musl diff --git a/src/time/asctime.c b/src/time/asctime.c index 3102eb87..1febe544 100644 --- a/src/time/asctime.c +++ b/src/time/asctime.c @@ -1,9 +1,7 @@ #include -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); }