From 464ec424e697f01f16a3672263345b3363657dbc Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 18 Mar 2011 23:30:19 +0100 Subject: locale.c, uClibc_locale.h: provide hidden __curlocale[_set] Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/bits/uClibc_locale.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/sysdeps/linux') diff --git a/libc/sysdeps/linux/common/bits/uClibc_locale.h b/libc/sysdeps/linux/common/bits/uClibc_locale.h index 9790da29d..05d9b4d40 100644 --- a/libc/sysdeps/linux/common/bits/uClibc_locale.h +++ b/libc/sysdeps/linux/common/bits/uClibc_locale.h @@ -338,7 +338,9 @@ extern int __locale_mbrtowc_l(wchar_t *__restrict dst, extern __locale_t __curlocale_var; # ifdef __UCLIBC_HAS_THREADS__ extern __locale_t __curlocale(void) __THROW __attribute__ ((__const__)); +libc_hidden_proto(__curlocale) extern __locale_t __curlocale_set(__locale_t newloc); +libc_hidden_proto(__curlocale_set) # define __UCLIBC_CURLOCALE (__curlocale()) # else # define __UCLIBC_CURLOCALE (__curlocale_var) -- cgit v1.2.3