diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-10 11:06:25 +0100 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-10 11:06:25 +0100 |
commit | 14b0a648ca751773fe28dd98f2c031bf6287e52a (patch) | |
tree | aafbd954a75c7ce1767dd77263d9e5123ea9538e | |
parent | 3e223e6c18912091bf75b77f9c7ae2ded0063037 (diff) |
ctype.c, ctype.h: remove commented parts that were banned for removal after 0.9.31
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
-rw-r--r-- | include/ctype.h | 6 | ||||
-rw-r--r-- | libc/misc/ctype/ctype.c | 4 |
2 files changed, 0 insertions, 10 deletions
diff --git a/include/ctype.h b/include/ctype.h index 6ad17a781..d09f0526b 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -345,21 +345,15 @@ libc_hidden_proto(isascii_l) # endif /* Return the lowercase version of C in locale L. */ -/* "ordinary" ctype.h has no __tolower, why we try to have it? - * remove after 0.9.31 - *extern int __tolower_l (int __c, __locale_t __l) __THROW; */ extern int tolower_l (int __c, __locale_t __l) __THROW; libc_hidden_proto(tolower_l) /* Return the uppercase version of C. */ -/*extern int __toupper_l (int __c, __locale_t __l) __THROW; */ extern int toupper_l (int __c, __locale_t __l) __THROW; # if __GNUC__ >= 2 && defined __OPTIMIZE__ && !defined __cplusplus # define tolower_l(c, locale) __tobody(c, tolower_l, (locale)->__ctype_tolower, (c, locale)) # define toupper_l(c, locale) __tobody(c, toupper_l, (locale)->__ctype_toupper, (c, locale)) -/*# define __tolower_l(c, locale) tolower_l((c), (locale)) */ -/*# define __toupper_l(c, locale) toupper_l((c), (locale)) */ # endif /* Optimizing gcc */ diff --git a/libc/misc/ctype/ctype.c b/libc/misc/ctype/ctype.c index 54cd21e87..1c40b244a 100644 --- a/libc/misc/ctype/ctype.c +++ b/libc/misc/ctype/ctype.c @@ -306,8 +306,6 @@ 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) */ #endif /**********************************************************************/ @@ -346,8 +344,6 @@ int toupper_l(int c, __locale_t l) #endif return __UCLIBC_CTYPE_IN_TO_DOMAIN(c) ? l->__ctype_toupper[c] : c; } -/*remove after 0.9.31. See ctype.h for why. - *weak_alias (toupper_l, __toupper_l) */ #endif /**********************************************************************/ |