about summary refs log tree commit diff
path: root/wcsmbs/wcrtomb.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/wcrtomb.c')
-rw-r--r--wcsmbs/wcrtomb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wcsmbs/wcrtomb.c b/wcsmbs/wcrtomb.c
index eb007a69b9..052a5b951b 100644
--- a/wcsmbs/wcrtomb.c
+++ b/wcsmbs/wcrtomb.c
@@ -38,7 +38,7 @@ static const unsigned char encoding_byte[] =
 static mbstate_t internal;
 
 size_t
-wcrtomb (char *s, wchar_t wc, mbstate_t *ps)
+__wcrtomb (char *s, wchar_t wc, mbstate_t *ps)
 {
   char fake[1];
   size_t written = 0;
@@ -89,3 +89,4 @@ wcrtomb (char *s, wchar_t wc, mbstate_t *ps)
 
   return written;
 }
+weak_alias (__wcrtomb, wcrtomb)