diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 01:00:06 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-12-16 01:00:06 +0000 |
commit | b865ce517bd48ce9f11dac018d350ed69a533e2b (patch) | |
tree | 375e51d5f603d28472c337ea163185f8d461599c /libc/misc | |
parent | c39976972e4d882f00fc0c4cbd7d25964a1f79f1 (diff) |
New regex as well
Diffstat (limited to 'libc/misc')
-rw-r--r-- | libc/misc/regex/regex.c | 2 | ||||
-rw-r--r-- | libc/misc/wchar/wchar.c | 3 |
2 files changed, 4 insertions, 1 deletions
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 <wchar.h> #include <wctype.h> 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 /**********************************************************************/ |