summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-11-19 23:25:45 +0000
committerUlrich Drepper <drepper@redhat.com>1997-11-19 23:25:45 +0000
commita49d90cee989f9606918b086555b0b26b57692ef (patch)
treedf939ed5c26ed138ecd9b428c066012642784099
parent3f558f73cdac6a9dacc9d5f4b34f980ade276ad7 (diff)
Remove optimization of mblen.
-rw-r--r--stdlib/stdlib.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 6aad638b39..bd6c9a3011 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -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));