diff options
Diffstat (limited to 'newlib/libc/stdlib/wctomb.c')
-rw-r--r-- | newlib/libc/stdlib/wctomb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/wctomb.c b/newlib/libc/stdlib/wctomb.c index 8d4ceb8ad..13892ffa4 100644 --- a/newlib/libc/stdlib/wctomb.c +++ b/newlib/libc/stdlib/wctomb.c @@ -61,8 +61,7 @@ _DEFUN (wctomb, (s, wchar), _REENT_CHECK_MISC(reent); - return __wctomb (reent, s, wchar, __locale_charset (), - &(_REENT_WCTOMB_STATE(reent))); + return __WCTOMB (reent, s, wchar, &(_REENT_WCTOMB_STATE(reent))); #else /* not _MB_CAPABLE */ if (s == NULL) return 0; |