summary refs log tree commit diff
path: root/wcsmbs/mbsrtowcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/mbsrtowcs.c')
-rw-r--r--wcsmbs/mbsrtowcs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wcsmbs/mbsrtowcs.c b/wcsmbs/mbsrtowcs.c
index 712b199271..d7305d6904 100644
--- a/wcsmbs/mbsrtowcs.c
+++ b/wcsmbs/mbsrtowcs.c
@@ -30,7 +30,7 @@ Boston, MA 02111-1307, USA.  */
 static mbstate_t internal;
 
 size_t
-mbsrtowcs (dst, src, len, ps)
+__mbsrtowcs (dst, src, len, ps)
      wchar_t *dst;
      const char **src;
      size_t len;
@@ -135,3 +135,4 @@ mbsrtowcs (dst, src, len, ps)
 
   return written;
 }
+weak_alias (__mbsrtowcs, mbsrtowcs)