summaryrefslogtreecommitdiff
path: root/ctype
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-05 05:31:36 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-05 05:31:36 +0000
commitf4aa71f4250923db875eb7df2d990020e1f5e2a3 (patch)
tree9897c9ea5d4cdf9751ece2bbc3aaaa062e090bfc /ctype
parentcd16d64de2ef6cbce28d7c9a5d8c4186814bb558 (diff)
downloadglibc-f4aa71f4250923db875eb7df2d990020e1f5e2a3.tar.gz
Update.
* ctype/ctype-info.c (__ctype32_tolower): Use _nl_C_CTYPE_tolower. (__ctype32_toupper): Use _nl_C_CTYPE_toupper. * locale/C-ctype.c (_nl_C_LC_CTYPE_tolower32): Removed. We can reuse the _nl_C_LC_CTYPE_tolower table. (_nl_C_LC_CTYPE_toupper32): Likewise. (_nl_C_LC_CTYPE): Use normal table to initialize tolower32 and toupper32 entries.
Diffstat (limited to 'ctype')
-rw-r--r--ctype/ctype-info.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/ctype/ctype-info.c b/ctype/ctype-info.c
index 898ad06e72..81d5d6a2fc 100644
--- a/ctype/ctype-info.c
+++ b/ctype/ctype-info.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 95, 96, 97, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 92, 95, 96, 97, 99, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -24,8 +24,6 @@ extern const char _nl_C_LC_CTYPE_class[];
extern const char _nl_C_LC_CTYPE_class32[];
extern const char _nl_C_LC_CTYPE_toupper[];
extern const char _nl_C_LC_CTYPE_tolower[];
-extern const char _nl_C_LC_CTYPE_toupper32[];
-extern const char _nl_C_LC_CTYPE_tolower32[];
extern const char _nl_C_LC_CTYPE_names[];
extern const char _nl_C_LC_CTYPE_width[];
@@ -35,7 +33,7 @@ const unsigned short int *__ctype_b = b (unsigned short int, class, 128);
const __uint32_t *__ctype32_b = b (__uint32_t, class32, 0);
const __int32_t *__ctype_tolower = b (__int32_t, tolower, 128);
const __int32_t *__ctype_toupper = b (__int32_t, toupper, 128);
-const __uint32_t *__ctype32_tolower = b (__int32_t, tolower32, 0);
-const __uint32_t *__ctype32_toupper = b (__int32_t, toupper32, 0);
+const __uint32_t *__ctype32_tolower = b (__uint32_t, tolower, 128);
+const __uint32_t *__ctype32_toupper = b (__uint32_t, toupper, 128);
const __uint32_t *__ctype_names = b (__uint32_t, names, 0);
const unsigned char *__ctype_width = b (unsigned char, width, 0);