diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-08-14 21:08:48 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-08-14 21:08:48 +0000 |
commit | 91b3a453de03fa18eb6b10d663ac20dcf9022c77 (patch) | |
tree | 46f6806aaa7f9886d73dfe37d0b87e043aef158d /include | |
parent | 11ebbd764180fbf09e3463befc14b25d98e4f1fb (diff) |
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
Diffstat (limited to 'include')
-rw-r--r-- | include/ctype.h | 8 |
1 files changed, 1 insertions, 7 deletions
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); |