diff options
Diffstat (limited to 'libc/misc/ctype/ctype.c')
-rw-r--r-- | libc/misc/ctype/ctype.c | 26 |
1 files changed, 8 insertions, 18 deletions
diff --git a/libc/misc/ctype/ctype.c b/libc/misc/ctype/ctype.c index a077dbf3c..a3d3d4354 100644 --- a/libc/misc/ctype/ctype.c +++ b/libc/misc/ctype/ctype.c @@ -41,6 +41,14 @@ toascii( int c ) } #endif +#ifdef L_isblank +#undef isblank +int +isblank( int c ) +{ + return ((c == ' ') || (c == '\t')); +} +#endif /* locale depended */ #ifndef __UCLIBC_HAS_LOCALE__ @@ -118,15 +126,6 @@ isspace( int c ) } #endif -#ifdef L_isblank -#undef isblank -int -isblank( int c ) -{ - return (c == ' ' || c == '\t'); -} -#endif - #ifdef L_isupper #undef isupper int @@ -275,15 +274,6 @@ isspace( int c ) } #endif -#ifdef L_isblank -#undef isblank -int -isblank( int c ) -{ - return _UC_ISCTYPE(c, ISblank); -} -#endif - #ifdef L_isupper #undef isupper int |