summaryrefslogtreecommitdiff
path: root/libc/misc/wchar/wchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/wchar/wchar.c')
-rw-r--r--libc/misc/wchar/wchar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/misc/wchar/wchar.c b/libc/misc/wchar/wchar.c
index 36937cd5d..925865d1a 100644
--- a/libc/misc/wchar/wchar.c
+++ b/libc/misc/wchar/wchar.c
@@ -260,10 +260,11 @@ int wctob(wint_t c)
/**********************************************************************/
#ifdef L_mbsinit
-int mbsinit(const mbstate_t *ps)
+int attribute_hidden __mbsinit(const mbstate_t *ps)
{
return !ps || !ps->__mask;
}
+strong_alias(__mbsinit,mbsinit)
#endif
/**********************************************************************/