From f4b90fe63a2bb16ce7e40ab317b4858b67d0d1d6 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Mon, 30 Jan 2006 16:06:33 +0000 Subject: some more prototypes --- libc/misc/ctype/ctype.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libc/misc/ctype') 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 */ -- cgit v1.2.3