summaryrefslogtreecommitdiff
path: root/libc/misc/wctype
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-09-19 17:30:05 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-09-19 17:30:05 +0000
commit309ce1f19f774f592d790e89de900dd81300c90b (patch)
tree9032c728cb6d98dd9f3490b748cf1bab5857e475 /libc/misc/wctype
parentdd3c72e1fabd08b2f03ab6a4f008609f62769373 (diff)
Hide my personal #warning reminders. Add __wcschrnul, rename strchrnul
to __strchrnul, and add weak aliases for them.
Diffstat (limited to 'libc/misc/wctype')
-rw-r--r--libc/misc/wctype/wctype.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/misc/wctype/wctype.c b/libc/misc/wctype/wctype.c
index 802e979f1..68b9e4579 100644
--- a/libc/misc/wctype/wctype.c
+++ b/libc/misc/wctype/wctype.c
@@ -295,11 +295,15 @@ wctype_t wctype(const char *property)
/**********************************************************************/
#ifdef L_iswctype
+#ifdef __UCLIBC_MJN3_ONLY__
#warning duh... replace the range-based classification with table lookup!
+#endif
#ifdef __WCTYPE_WITH_LOCALE
+#ifdef __UCLIBC_MJN3_ONLY__
#warning TODO: need to fix locale ctype table lookup stuff
+#endif
#if 0
extern const char ctype_range[];
#else
@@ -308,7 +312,9 @@ static const char ctype_range[] = {
};
#endif
+#ifdef __UCLIBC_MJN3_ONLY__
#warning TODO: need to handle combining class!
+#endif
#define WCctype_TI_MASK ((1 << WCctype_TI_SHIFT) - 1)
#define WCctype_II_MASK ((1 << WCctype_II_SHIFT) - 1)