#include <locale.h>
#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(__ctype_b_loc)
-#elif __UCLIBC_HAS_CTYPE_TABLES__
+#elif defined __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_b)
#endif
#undef tolower
#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(__ctype_tolower_loc)
-#elif __UCLIBC_HAS_CTYPE_TABLES__
+#elif defined __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_tolower)
#endif
libc_hidden_proto(tolower)
return __UCLIBC_CTYPE_IN_TO_DOMAIN(c) ? l->__ctype_tolower[c] : c;
}
libc_hidden_def(tolower_l)
+weak_alias (tolower_l, __tolower_l)
#endif
/**********************************************************************/
#undef toupper
#ifdef __UCLIBC_HAS_XLOCALE__
libc_hidden_proto(__ctype_toupper_loc)
-#elif __UCLIBC_HAS_CTYPE_TABLES__
+#elif defined __UCLIBC_HAS_CTYPE_TABLES__
libc_hidden_proto(__ctype_toupper)
#endif
libc_hidden_proto(toupper)
return __UCLIBC_CTYPE_IN_TO_DOMAIN(c) ? l->__ctype_toupper[c] : c;
}
libc_hidden_def(toupper_l)
+weak_alias (toupper_l, __toupper_l)
#endif
/**********************************************************************/
/* -4 M-| */ 0,
/* -3 M-} */ 0,
/* -2 M-~ */ 0,
-#endif /* __UCLIBC_HAS_CTYPE_SIGNED__*/
+#endif /* __UCLIBC_HAS_CTYPE_SIGNED__*/
/* -1 M-^? */ 0,
/* 0 ^@ */ _IScntrl,
/* 1 ^A */ _IScntrl,
-12, -11, -10, -9,
-8, -7, -6, -5,
-4, -3, -2, -1,
-#endif /* __UCLIBC_HAS_CTYPE_SIGNED__*/
+#endif /* __UCLIBC_HAS_CTYPE_SIGNED__*/
0, 1, 2, 3,
4, 5, 6, 7,
8, 9, 10, 11,
-12, -11, -10, -9,
-8, -7, -6, -5,
-4, -3, -2, -1,
-#endif /* __UCLIBC_HAS_CTYPE_SIGNED__*/
+#endif /* __UCLIBC_HAS_CTYPE_SIGNED__*/
0, 1, 2, 3,
4, 5, 6, 7,
8, 9, 10, 11,