From 71b624b470b75624b0a6b16049e0dacadbfe33d2 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Wed, 15 Feb 2006 11:46:59 +0000 Subject: Reorganize a bit for IMA --- libc/stdlib/stdlib.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'libc/stdlib') diff --git a/libc/stdlib/stdlib.c b/libc/stdlib/stdlib.c index b8b8e4eb5..211b8fe75 100644 --- a/libc/stdlib/stdlib.c +++ b/libc/stdlib/stdlib.c @@ -64,24 +64,12 @@ #include #include -#ifdef __UCLIBC_DO_XLOCALE -libc_hidden_proto(isspace_l) -#else -libc_hidden_proto(isspace) -#endif - #ifdef __UCLIBC_HAS_WCHAR__ #include #include #include -#ifdef __UCLIBC_DO_XLOCALE -libc_hidden_proto(iswspace_l) -#else -libc_hidden_proto(iswspace) -#endif - #ifdef __UCLIBC_HAS_XLOCALE__ #include #endif /* __UCLIBC_HAS_XLOCALE__ */ @@ -449,8 +437,10 @@ strong_alias(strtoull,strtouq) #define Wuchar __uwchar_t #ifdef __UCLIBC_DO_XLOCALE #define ISSPACE(C) iswspace_l((C), locale_arg) +libc_hidden_proto(iswspace_l) #else #define ISSPACE(C) iswspace((C)) +libc_hidden_proto(iswspace) #endif #else /* defined(L__stdlib_wcsto_l) || defined(L__stdlib_wcsto_l_l) */ @@ -459,8 +449,10 @@ strong_alias(strtoull,strtouq) #define Wuchar unsigned char #ifdef __UCLIBC_DO_XLOCALE #define ISSPACE(C) isspace_l((C), locale_arg) +libc_hidden_proto(isspace_l) #else #define ISSPACE(C) isspace((C)) +libc_hidden_proto(isspace) #endif #endif /* defined(L__stdlib_wcsto_l) || defined(L__stdlib_wcsto_l_l) */ @@ -600,8 +592,10 @@ unsigned long attribute_hidden __XL_NPP(_stdlib_strto_l)(register const Wchar * #define Wuchar __uwchar_t #ifdef __UCLIBC_DO_XLOCALE #define ISSPACE(C) iswspace_l((C), locale_arg) +libc_hidden_proto(iswspace_l) #else #define ISSPACE(C) iswspace((C)) +libc_hidden_proto(iswspace) #endif #else /* defined(L__stdlib_wcsto_ll) || defined(L__stdlib_wcsto_ll_l) */ @@ -610,8 +604,10 @@ unsigned long attribute_hidden __XL_NPP(_stdlib_strto_l)(register const Wchar * #define Wuchar unsigned char #ifdef __UCLIBC_DO_XLOCALE #define ISSPACE(C) isspace_l((C), locale_arg) +libc_hidden_proto(isspace_l) #else #define ISSPACE(C) isspace((C)) +libc_hidden_proto(isspace) #endif #endif /* defined(L__stdlib_wcsto_ll) || defined(L__stdlib_wcsto_ll_l) */ -- cgit v1.2.3