From 405102dc5034967f228e8a0a2f25a142caa55400 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 7 Sep 2018 19:49:21 -0400 Subject: 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. --- src/time/asctime_r.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/time/asctime_r.c') 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) { -- cgit v1.2.1