summaryrefslogtreecommitdiff
path: root/libc/misc/ctype
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:35:09 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:35:09 +0000
commit59bf5cbe99873625ce3d5a9b984e9b98e659eefa (patch)
treeb04d282e7e374dfdae260a38e46ad646f79d9f1c /libc/misc/ctype
parent979dd261f65f59f021d4f4c0bf93c1149147a65f (diff)
Hide C and wchar related stuff
Diffstat (limited to 'libc/misc/ctype')
-rw-r--r--libc/misc/ctype/Makefile.in4
-rw-r--r--libc/misc/ctype/ctype.c58
2 files changed, 2 insertions, 60 deletions
diff --git a/libc/misc/ctype/Makefile.in b/libc/misc/ctype/Makefile.in
index 0e194cbff..87a3d11b1 100644
--- a/libc/misc/ctype/Makefile.in
+++ b/libc/misc/ctype/Makefile.in
@@ -10,7 +10,7 @@ MSRC:=ctype.c
MOBJ:= isalnum.o isalpha.o isascii.o iscntrl.o isdigit.o \
isgraph.o islower.o isprint.o ispunct.o isspace.o \
isupper.o isxdigit.o toascii.o tolower.o toupper.o \
- isblank.o isxlower.o isxupper.o
+ isblank.o
ifeq ($(UCLIBC_HAS_CTYPE_TABLES),y)
MOBJ+= __C_ctype_b.o __C_ctype_tolower.o __C_ctype_toupper.o \
@@ -21,7 +21,7 @@ endif
MOBJx:= isalnum_l.o isalpha_l.o isascii_l.o iscntrl_l.o isdigit_l.o \
isgraph_l.o islower_l.o isprint_l.o ispunct_l.o isspace_l.o \
isupper_l.o isxdigit_l.o toascii_l.o tolower_l.o toupper_l.o \
- isblank_l.o # isxlower_l.o isxupper_l.o
+ isblank_l.o
MISC_CTYPE_DIR:=$(top_srcdir)libc/misc/ctype
MISC_CTYPE_OUT:=$(top_builddir)libc/misc/ctype
diff --git a/libc/misc/ctype/ctype.c b/libc/misc/ctype/ctype.c
index 65debd842..60301d48c 100644
--- a/libc/misc/ctype/ctype.c
+++ b/libc/misc/ctype/ctype.c
@@ -390,64 +390,6 @@ int toascii(int c)
#endif
/**********************************************************************/
-/* old uClibc extensions */
-/**********************************************************************/
-#ifdef L_isxlower
-
-#ifdef __UCLIBC_HAS_CTYPE_TABLES__
-
-int isxlower(int C)
-{
-#if defined(__UCLIBC_HAS_CTYPE_ENFORCED__)
- assert(CTYPE_DOMAIN_CHECK(C));
- return (__isctype(C, (_ISxdigit|_ISupper)) == _ISxdigit);
-#elif defined(__UCLIBC_HAS_CTYPE_CHECKED__)
- return CTYPE_DOMAIN_CHECK(C)
- ? (__isctype(C, (_ISxdigit|_ISupper)) == _ISxdigit)
- : 0;
-#elif defined(__UCLIBC_HAS_CTYPE_UNSAFE__)
- return (__isctype(C, (_ISxdigit|_ISupper)) == _ISxdigit);
-#else /* No checking done. */
-#error Unknown type of ctype checking!
-#endif
-}
-
-#else /* __UCLIBC_HAS_CTYPE_TABLES__ */
-
-IS_FUNC_BODY(xlower);
-
-#endif /* __UCLIBC_HAS_CTYPE_TABLES__ */
-
-#endif
-/**********************************************************************/
-#ifdef L_isxupper
-
-#ifdef __UCLIBC_HAS_CTYPE_TABLES__
-
-int isxupper(int C)
-{
-#if defined(__UCLIBC_HAS_CTYPE_ENFORCED__)
- assert(CTYPE_DOMAIN_CHECK(C));
- return (__isctype(C, (_ISxdigit|_ISlower)) == _ISxdigit);
-#elif defined(__UCLIBC_HAS_CTYPE_CHECKED__)
- return CTYPE_DOMAIN_CHECK(C)
- ? (__isctype(C, (_ISxdigit|_ISlower)) == _ISxdigit)
- : 0;
-#elif defined(__UCLIBC_HAS_CTYPE_UNSAFE__)
- return (__isctype(C, (_ISxdigit|_ISlower)) == _ISxdigit);
-#else /* No checking done. */
-#error Unknown type of ctype checking!
-#endif
-}
-
-#else /* __UCLIBC_HAS_CTYPE_TABLES__ */
-
-IS_FUNC_BODY(xupper);
-
-#endif /* __UCLIBC_HAS_CTYPE_TABLES__ */
-
-#endif
-/**********************************************************************/
/* glibc extensions */
/**********************************************************************/
#ifdef L_isctype