diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-30 16:06:33 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-01-30 16:06:33 +0000 |
commit | f4b90fe63a2bb16ce7e40ab317b4858b67d0d1d6 (patch) | |
tree | fb10ac5d404c3e842f668522d009118a9d21ca0b /libc/misc/ctype/ctype.c | |
parent | 75b1747bb2343695a736cfbb361d40026d4edeac (diff) | |
download | uClibc-alpine-f4b90fe63a2bb16ce7e40ab317b4858b67d0d1d6.tar.bz2 uClibc-alpine-f4b90fe63a2bb16ce7e40ab317b4858b67d0d1d6.tar.xz |
some more prototypes
Diffstat (limited to 'libc/misc/ctype/ctype.c')
-rw-r--r-- | libc/misc/ctype/ctype.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/misc/ctype/ctype.c b/libc/misc/ctype/ctype.c index 70a014438..d470a2e32 100644 --- a/libc/misc/ctype/ctype.c +++ b/libc/misc/ctype/ctype.c @@ -137,6 +137,7 @@ extern void __isctype_assert(int c, int mask) __attribute__ ((__noreturn__)) att #define IS_FUNC_BODY(NAME) \ +int CTYPE_NAME(NAME) (int c __LOCALE_PARAM ); \ int CTYPE_NAME(NAME) (int c __LOCALE_PARAM ) \ { \ CTYPE_BODY(NAME,c,PASTE2(_IS,NAME)) \ @@ -207,6 +208,7 @@ IS_FUNC_BODY(cntrl); #define __isdigit_char_or_EOF(C) __isdigit_int((C)) #endif +int CTYPE_NAME(digit) (int C __LOCALE_PARAM); int CTYPE_NAME(digit) (int C __LOCALE_PARAM) { #if defined(__UCLIBC_HAS_CTYPE_ENFORCED__) @@ -367,6 +369,7 @@ libc_hidden_def(toupper_l) #ifdef __UCLIBC_HAS_CTYPE_TABLES__ +int __XL_NPP(isascii)(int c); int __XL_NPP(isascii)(int c) { return __isascii(c); /* locale-independent */ @@ -389,6 +392,7 @@ libc_hidden_def(isascii) #ifdef __UCLIBC_HAS_CTYPE_TABLES__ +int __XL_NPP(toascii)(int c); int __XL_NPP(toascii)(int c) { return __toascii(c); /* locale-independent */ |