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/strftime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/time/strftime.c') diff --git a/src/time/strftime.c b/src/time/strftime.c index d3f2add9..5d2484ed 100644 --- a/src/time/strftime.c +++ b/src/time/strftime.c @@ -9,7 +9,7 @@ #include "libc.h" #include "time_impl.h" -const char *__nl_langinfo_l(nl_item, locale_t); +char *__nl_langinfo_l(nl_item, locale_t); static int is_leap(int y) { -- cgit v1.2.1