diff options
Diffstat (limited to 'newlib/libc/stdlib/btowc.c')
-rw-r--r-- | newlib/libc/stdlib/btowc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/btowc.c b/newlib/libc/stdlib/btowc.c index 354a1d6e1..7605ce6b6 100644 --- a/newlib/libc/stdlib/btowc.c +++ b/newlib/libc/stdlib/btowc.c @@ -23,8 +23,7 @@ btowc (int c) _REENT_CHECK_MISC(_REENT); - retval = __mbtowc (_REENT, &pwc, (const char *) &b, 1, - __locale_charset (), &mbs); + retval = __MBTOWC (_REENT, &pwc, (const char *) &b, 1, &mbs); if (retval != 0 && retval != 1) return WEOF; |