Browse Source

New regex as well

Peter S. Mazinger 18 years ago
parent
commit
b865ce517b
2 changed files with 4 additions and 1 deletions
  1. 2 0
      libc/misc/regex/regex.c
  2. 2 1
      libc/misc/wchar/wchar.c

+ 2 - 0
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>
 

+ 2 - 1
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
 /**********************************************************************/