From 93f8a2e834eed69aff7ef3be8c2baba14bab0658 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 18 Sep 2009 23:07:26 +0200 Subject: convert // comments to /**/; remove empty #if/#endif pairs. no code changes Signed-off-by: Denys Vlasenko --- libc/misc/ctype/ctype.c | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'libc/misc/ctype/ctype.c') diff --git a/libc/misc/ctype/ctype.c b/libc/misc/ctype/ctype.c index 6abb49ac4..e46f66b58 100644 --- a/libc/misc/ctype/ctype.c +++ b/libc/misc/ctype/ctype.c @@ -35,13 +35,10 @@ #include #include #include -#ifdef __UCLIBC_HAS_XLOCALE__ -#elif defined __UCLIBC_HAS_CTYPE_TABLES__ -#endif #ifdef __UCLIBC_HAS_XLOCALE__ -#include -#endif /* __UCLIBC_HAS_XLOCALE__ */ +# include +#endif /**********************************************************************/ #ifdef __UCLIBC_HAS_CTYPE_TABLES__ @@ -276,9 +273,6 @@ IS_FUNC_BODY(xdigit); #ifdef L_tolower #undef tolower -#ifdef __UCLIBC_HAS_XLOCALE__ -#elif defined __UCLIBC_HAS_CTYPE_TABLES__ -#endif #ifdef __UCLIBC_HAS_CTYPE_TABLES__ int tolower(int c) @@ -312,17 +306,14 @@ int tolower_l(int c, __locale_t l) return __UCLIBC_CTYPE_IN_TO_DOMAIN(c) ? l->__ctype_tolower[c] : c; } libc_hidden_def(tolower_l) -//remove after 0.9.31. See ctype.h for why. -//weak_alias (tolower_l, __tolower_l) +/*remove after 0.9.31. See ctype.h for why. + *weak_alias (tolower_l, __tolower_l) */ #endif /**********************************************************************/ #ifdef L_toupper #undef toupper -#ifdef __UCLIBC_HAS_XLOCALE__ -#elif defined __UCLIBC_HAS_CTYPE_TABLES__ -#endif #ifdef __UCLIBC_HAS_CTYPE_TABLES__ int toupper(int c) @@ -356,8 +347,8 @@ int toupper_l(int c, __locale_t l) return __UCLIBC_CTYPE_IN_TO_DOMAIN(c) ? l->__ctype_toupper[c] : c; } libc_hidden_def(toupper_l) -//remove after 0.9.31. See ctype.h for why. -//weak_alias (toupper_l, __toupper_l) +/*remove after 0.9.31. See ctype.h for why. + *weak_alias (toupper_l, __toupper_l) */ #endif /**********************************************************************/ -- cgit v1.2.3