aboutsummaryrefslogtreecommitdiff
path: root/wcsmbs/mbrtowc.c
diff options
context:
space:
mode:
Diffstat (limited to 'wcsmbs/mbrtowc.c')
-rw-r--r--wcsmbs/mbrtowc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/wcsmbs/mbrtowc.c b/wcsmbs/mbrtowc.c
index a2a3187..521fdd7 100644
--- a/wcsmbs/mbrtowc.c
+++ b/wcsmbs/mbrtowc.c
@@ -29,8 +29,6 @@
# define EILSEQ EINVAL
#endif
-#undef __mbrtowc
-
/* This is the private state used if PS is NULL. */
static mbstate_t state;
@@ -106,5 +104,5 @@ __mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps)
return result;
}
-INTDEF(__mbrtowc)
+libc_hidden_def (__mbrtowc)
weak_alias (__mbrtowc, mbrtowc)