From b865ce517bd48ce9f11dac018d350ed69a533e2b Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 16 Dec 2005 01:00:06 +0000 Subject: New regex as well --- libc/misc/regex/regex.c | 2 ++ libc/misc/wchar/wchar.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'libc/misc') diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c index 5220ba57c..40958ff5c 100644 --- a/libc/misc/regex/regex.c +++ b/libc/misc/regex/regex.c @@ -38,6 +38,8 @@ #define iswctype __iswctype #define iswlower __iswlower #define iswalnum __iswalnum +#define towlower __towlower +#define mbsinit __mbsinit #include #include diff --git a/libc/misc/wchar/wchar.c b/libc/misc/wchar/wchar.c index 36937cd5d..925865d1a 100644 --- a/libc/misc/wchar/wchar.c +++ b/libc/misc/wchar/wchar.c @@ -260,10 +260,11 @@ int wctob(wint_t c) /**********************************************************************/ #ifdef L_mbsinit -int mbsinit(const mbstate_t *ps) +int attribute_hidden __mbsinit(const mbstate_t *ps) { return !ps || !ps->__mask; } +strong_alias(__mbsinit,mbsinit) #endif /**********************************************************************/ -- cgit v1.2.3