mirror of
git://sourceware.org/git/glibc.git
synced 2025-04-12 14:21:18 +08:00
Remove optimization of mblen.
This commit is contained in:
parent
3f558f73cd
commit
a49d90cee9
@ -554,11 +554,6 @@ extern int mbtowc __P ((wchar_t *__pwc, __const char *__s, size_t __n));
|
||||
by WCHAR in S, returning its length. */
|
||||
extern int wctomb __P ((char *__s, wchar_t __wchar));
|
||||
|
||||
#if defined (__OPTIMIZE__) && __GNUC__ >= 2
|
||||
extern __inline int mblen (__const char *__s, size_t __n)
|
||||
{ return mbtowc ((wchar_t *) NULL, __s, __n); }
|
||||
#endif /* Optimizing GCC >=2. */
|
||||
|
||||
|
||||
/* Convert a multibyte string to a wide char string. */
|
||||
extern size_t mbstowcs __P ((wchar_t *__pwcs, __const char *__s, size_t __n));
|
||||
|
Loading…
x
Reference in New Issue
Block a user