From 403d3b6c026812d82647eabf9370722f3f1e7893 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 16 Dec 2005 01:18:01 +0000 Subject: Convert all the rest, remove isxupper/isxlower, if someone objects, I'll add it back --- include/ctype.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'include/ctype.h') 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 -- cgit v1.2.3