summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 01:18:01 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 01:18:01 +0000
commit403d3b6c026812d82647eabf9370722f3f1e7893 (patch)
treef4300320d7a7739990ad6b13aaf3918e65d94c2a /include
parent6a6ae6e1a26f32fd896b0a7b740129161bfb008b (diff)
Convert all the rest, remove isxupper/isxlower, if someone objects, I'll add it back
Diffstat (limited to 'include')
-rw-r--r--include/ctype.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/include/ctype.h b/include/ctype.h
index e00313167..78cff7daa 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -136,18 +136,11 @@ extern const __ctype_touplow_t *__ctype_tolower;
#define __isascii(c) (((c) & ~0x7f) == 0) /* If C is a 7 bit value. */
#define __toascii(c) ((c) & 0x7f) /* Mask off high bits. */
-#ifdef __USE_MISC
-
-/* The following are included for compatibility with older versions of
- * uClibc; but now they're only visible if MISC funcctionality is requested. */
-extern int isxlower(int c) __THROW;
-extern int isxupper(int c) __THROW;
-
+#if defined _LIBC && (defined IS_IN_libc || defined NOT_IN_libc)
/* isdigit() is really locale-invariant, so provide some small fast macros.
* These are uClibc-specific. */
#define __isdigit_char(C) (((unsigned char)((C) - '0')) <= 9)
#define __isdigit_int(C) (((unsigned int)((C) - '0')) <= 9)
-
#endif
#define __exctype(name) extern int name (int) __THROW