about summary refs log tree commit diff
path: root/wcsmbs/mbrlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/mbrlen.c')
-rw-r--r--wcsmbs/mbrlen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wcsmbs/mbrlen.c b/wcsmbs/mbrlen.c
index a50631e8d1..c5a27116be 100644
--- a/wcsmbs/mbrlen.c
+++ b/wcsmbs/mbrlen.c
@@ -26,10 +26,11 @@ static mbstate_t internal;
 
 
 size_t
-mbrlen (s, n, ps)
+__mbrlen (s, n, ps)
      const char *s;
      size_t n;
      mbstate_t *ps;
 {
   return mbrtowc (NULL, s, n, ps ?: &internal);
 }
+weak_alias (__mbrlen, mbrlen)