summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-18 23:30:19 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2012-06-15 14:00:27 +0200
commit464ec424e697f01f16a3672263345b3363657dbc (patch)
treefd26dd37e11c58e87856d02e468b9719b8214a60 /libc/sysdeps
parent938467ad2d9972c8d7ddcbde5dd9fe634da1ca3b (diff)
locale.c, uClibc_locale.h: provide hidden __curlocale[_set]
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/bits/uClibc_locale.h2
1 files changed, 2 insertions, 0 deletions
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)