From 0189d4d8e2eeb550bf56c1e0a83459bd018647f8 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 15 Jan 2006 18:39:29 +0000 Subject: Remove __XL(N) and __XL_ALIAS(N) adapting the last use of it --- libc/misc/ctype/ctype.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'libc/misc/ctype') diff --git a/libc/misc/ctype/ctype.c b/libc/misc/ctype/ctype.c index 6589e4177..cb1645ef7 100644 --- a/libc/misc/ctype/ctype.c +++ b/libc/misc/ctype/ctype.c @@ -103,7 +103,7 @@ #undef NDEBUG #include -extern void __isctype_assert(int c, int mask) __attribute__ ((__noreturn__)); +extern void __isctype_assert(int c, int mask) __attribute__ ((__noreturn__)) attribute_hidden; #define CTYPE_BODY(NAME,C,MASK) \ if (CTYPE_DOMAIN_CHECK(C)) { \ @@ -159,7 +159,7 @@ int CTYPE_NAME(NAME) (int c) \ libc_hidden_proto(fprintf) libc_hidden_proto(abort) -void __isctype_assert(int c, int mask) +attribute_hidden void __isctype_assert(int c, int mask) { fprintf(stderr, "%s: __is*{_l}(%d,%#x {locale})\n", __uclibc_progname, c, mask); abort(); @@ -353,19 +353,19 @@ libc_hidden_def(toupper_l) #ifdef __UCLIBC_HAS_CTYPE_TABLES__ -int __XL(isascii)(int c) +int __XL_NPP(isascii)(int c) { return __isascii(c); /* locale-independent */ } -__XL_ALIAS(isascii) - #else /* __UCLIBC_HAS_CTYPE_TABLES__ */ +libc_hidden_proto(isascii) int isascii(int c) { return __isascii(c); /* locale-independent */ } +libc_hidden_def(isascii) #endif /* __UCLIBC_HAS_CTYPE_TABLES__ */ @@ -375,13 +375,11 @@ int isascii(int c) #ifdef __UCLIBC_HAS_CTYPE_TABLES__ -int __XL(toascii)(int c) +int __XL_NPP(toascii)(int c) { return __toascii(c); /* locale-independent */ } -__XL_ALIAS(toascii) - #else /* __UCLIBC_HAS_CTYPE_TABLES__ */ int toascii(int c) -- cgit v1.2.3