diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-07 19:49:21 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 14:34:30 -0400 |
commit | 405102dc5034967f228e8a0a2f25a142caa55400 (patch) | |
tree | f83fdce5b512f0ec1763bfd7f837fdd3fc75c28c /src/time/asctime_r.c | |
parent | 60056a8010c3dbaabd713f7a3e4f2963bb921a1b (diff) | |
download | musl-405102dc5034967f228e8a0a2f25a142caa55400.tar.gz musl-405102dc5034967f228e8a0a2f25a142caa55400.tar.bz2 musl-405102dc5034967f228e8a0a2f25a142caa55400.tar.xz musl-405102dc5034967f228e8a0a2f25a142caa55400.zip |
fix type-mismatched declarations of __nl_langinfo_l in source files
obviously the type "should be" const, but it inherited non-const from
the standard nl_langinfo_l.
Diffstat (limited to 'src/time/asctime_r.c')
-rw-r--r-- | src/time/asctime_r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time/asctime_r.c b/src/time/asctime_r.c index 1278311e..d1639ab0 100644 --- a/src/time/asctime_r.c +++ b/src/time/asctime_r.c @@ -5,7 +5,7 @@ #include "atomic.h" #include "libc.h" -const char *__nl_langinfo_l(nl_item, locale_t); +char *__nl_langinfo_l(nl_item, locale_t); char *__asctime_r(const struct tm *restrict tm, char *restrict buf) { |