summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/mbstowcs.c2
-rw-r--r--stdlib/mbtowc.c2
-rw-r--r--stdlib/wcstombs.c2
-rw-r--r--stdlib/wctomb.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/mbstowcs.c b/stdlib/mbstowcs.c
index da3ae6b19d..1b380308d6 100644
--- a/stdlib/mbstowcs.c
+++ b/stdlib/mbstowcs.c
@@ -36,7 +36,7 @@ mbstowcs (wchar_t *pwcs, const char *s, size_t n)
mbstate_t save_shift = __no_r_state;
size_t written;
- written = mbsrtowcs (pwcs, &s, n, &__no_r_state);
+ written = __mbsrtowcs (pwcs, &s, n, &__no_r_state);
/* Restore the old shift state. */
__no_r_state = save_shift;
diff --git a/stdlib/mbtowc.c b/stdlib/mbtowc.c
index c340dd72a6..1f5d45dc62 100644
--- a/stdlib/mbtowc.c
+++ b/stdlib/mbtowc.c
@@ -45,7 +45,7 @@ mbtowc (wchar_t *pwc, const char *s, size_t n)
if (s == NULL)
return 1;
- result = mbrtowc (pwc, s, n, &__no_r_state);
+ result = __mbrtowc (pwc, s, n, &__no_r_state);
/* The `mbrtowc' functions tell us more than we need. Fold the -1
and -2 result into -1. */
diff --git a/stdlib/wcstombs.c b/stdlib/wcstombs.c
index 73f015bf7e..65011f77c3 100644
--- a/stdlib/wcstombs.c
+++ b/stdlib/wcstombs.c
@@ -36,7 +36,7 @@ wcstombs (char *s, const wchar_t *pwcs, size_t n)
mbstate_t save_shift = __no_r_state;
size_t written;
- written = wcsrtombs (s, &pwcs, n, &__no_r_state);
+ written = __wcsrtombs (s, &pwcs, n, &__no_r_state);
/* Restore the old shift state. */
__no_r_state = save_shift;
diff --git a/stdlib/wctomb.c b/stdlib/wctomb.c
index f7143add82..75b6069af4 100644
--- a/stdlib/wctomb.c
+++ b/stdlib/wctomb.c
@@ -41,5 +41,5 @@ wctomb (char *s, wchar_t wchar)
if (s == NULL)
return 1;
- return wcrtomb (s, wchar, &__no_r_state);
+ return __wcrtomb (s, wchar, &__no_r_state);
}