projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
getservbyport_r: fix wrong result if getnameinfo fails with EAI_OVERFLOW
[musl]
/
src
/
time
/
asctime.c
diff --git
a/src/time/asctime.c
b/src/time/asctime.c
index
3102eb8
..
1febe54
100644
(file)
--- a/
src/time/asctime.c
+++ b/
src/time/asctime.c
@@
-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);
}