From cd11c90c224c10d90fc32e68354dd559b0a0867f Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Fri, 25 Jan 2019 02:59:32 +0100 Subject: [PATCH] Fix langinfo.h mixup --- ndk-patches/langinfo.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ndk-patches/langinfo.h b/ndk-patches/langinfo.h index 73cceac87..db996d16b 100644 --- a/ndk-patches/langinfo.h +++ b/ndk-patches/langinfo.h @@ -101,7 +101,7 @@ extern "C" { #endif -static char *nl_langinfo(nl_item item) +static char *nl_langinfo_l(nl_item item, locale_t loc) { static const char c_time[] = "Sun\0" "Mon\0" "Tue\0" "Wed\0" "Thu\0" "Fri\0" "Sat\0" @@ -174,7 +174,7 @@ static char *nl_langinfo(nl_item item) return (char *)str; } -static char *nl_langinfo_l(nl_item item, locale_t l) +static char *nl_langinfo(nl_item item) { return nl_langinfo_l(item, 0); }