diff options
Diffstat (limited to 'wcsmbs/mbrlen.c')
-rw-r--r-- | wcsmbs/mbrlen.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/wcsmbs/mbrlen.c b/wcsmbs/mbrlen.c index ff7f662..a173ea0 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) |