about summary refs log tree commit diff
path: root/wctype
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-09-10 19:43:01 +0000
committerUlrich Drepper <drepper@redhat.com>1999-09-10 19:43:01 +0000
commit6833780818c60b3f3a0a120f711369bb8158a0d5 (patch)
tree4fc7e61a6a38a01c9043fef489571045c814a743 /wctype
parentec6275c0b7df29a34fd3beb7e29bc44fd63b8585 (diff)
downloadglibc-6833780818c60b3f3a0a120f711369bb8158a0d5.tar.gz
glibc-6833780818c60b3f3a0a120f711369bb8158a0d5.tar.xz
glibc-6833780818c60b3f3a0a120f711369bb8158a0d5.zip
Update.
1999-09-10  Ulrich Drepper  <drepper@cygnus.com>

	* wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.

	* sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
	WINT_MAX values.

	* wctype/wctype.h: Remove incorrect towlower/towupper optimizations.

1999-09-09  Andreas Schwab  <schwab@suse.de>

	* elf/link.h: Fix comment.

1999-09-10  Ulrich Drepper  <drepper@cygnus.com>

	* math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].

	* math/math.h: Pretty print.
Diffstat (limited to 'wctype')
-rw-r--r--wctype/wctype.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/wctype/wctype.h b/wctype/wctype.h
index 2ecd33a711..521fcca76e 100644
--- a/wctype/wctype.h
+++ b/wctype/wctype.h
@@ -235,21 +235,6 @@ extern wint_t towupper __P ((wint_t __wc));
 /* Map the wide character WC using the mapping described by DESC.  */
 extern wint_t __towctrans __P ((wint_t __wc, wctrans_t __desc));
 
-#if __GNUC__ >= 2 && defined __OPTIMIZE__
-/* The tables are always organized in a way which allows direct access
-   for single byte characters.  */
-extern __const __int32_t *__ctype_tolower; /* Case conversions.  */
-extern __const __int32_t *__ctype_toupper; /* Case conversions.  */
-
-# define towlower(wc) \
-  (__builtin_constant_p (wc) && (wc) >= L'\0' && (wc) <= L'\xff'	      \
-   ? (wint_t) __ctype_tolower[wc] : towlower (wc))
-# define towuppert(wc) \
-  (__builtin_constant_p (wc) && (wc) >= L'\0' && (wc) <= L'\xff'	      \
-   ? (wint_t) __ctype_toupper[wc] : towupper (wc))
-
-#endif	/* gcc && optimizing */
-
 __END_DECLS
 
 #endif	/* need iswxxx.  */