summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/locale/locale.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/locale/locale.c b/libc/misc/locale/locale.c
index 7085629c4..254eb70d5 100644
--- a/libc/misc/locale/locale.c
+++ b/libc/misc/locale/locale.c
@@ -1394,6 +1394,7 @@ __locale_t weak_const_function __curlocale(void)
{
return __curlocale_var; /* This is overriden by the thread version. */
}
+libc_hidden_weak(__curlocale)
__locale_t weak_function __curlocale_set(__locale_t newloc)
{
@@ -1402,6 +1403,7 @@ __locale_t weak_function __curlocale_set(__locale_t newloc)
__curlocale_var = newloc;
return oldloc;
}
+libc_hidden_weak(__curlocale_set)
#endif