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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/wcsmbs/mbrlen.c b/wcsmbs/mbrlen.c
index ff7f6628a5..a173ea0f20 100644
--- a/wcsmbs/mbrlen.c
+++ b/wcsmbs/mbrlen.c
@@ -19,8 +19,6 @@
 
 #include <wchar.h>
 
-#undef __mbrlen
-
 /* The mbrlen function has an internal shift state which gets used if
    the PS parameter is NULL.  */
 static mbstate_t internal;
@@ -34,5 +32,5 @@ __mbrlen (s, n, ps)
 {
   return __mbrtowc (NULL, s, n, ps ?: &internal);
 }
-INTDEF(__mbrlen)
+libc_hidden_def (__mbrlen)
 weak_alias (__mbrlen, mbrlen)