From 91b3a453de03fa18eb6b10d663ac20dcf9022c77 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 14 Aug 2001 21:08:48 +0000 Subject: use some #defines internal to the ctype functions to eliminate them calling other tiny ctype functions. Now all ctype funcs will end up with no extern references, which ends up shrinking both the uClibc shared lib and shrinking client code. -Erik --- include/ctype.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'include') diff --git a/include/ctype.h b/include/ctype.h index 477fac9b8..9cacab906 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -8,15 +8,9 @@ __BEGIN_DECLS -/* For now, just always use the functions instead of the macros...*/ -#define __USE_CTYPE_C_FUNCTIONS - /* Locale-compatible macros/inlines have yet to be implemented. */ -#if defined(__UCLIBC_HAS_LOCALE__) && !defined(__USE_CTYPE_C_FUNCTIONS) -#define __USE_CTYPE_C_FUNCTIONS -#endif +#if defined(__UCLIBC_HAS_LOCALE__) && !defined(__USE_CTYPE_C_MACROS) -#ifdef __USE_CTYPE_C_FUNCTIONS /* function prototpes */ extern int isalnum(int c); extern int isalpha(int c); -- cgit v1.2.3