summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-11-27 01:20:58 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-11-27 01:20:58 +0000
commit9d083cc2534e8e2ae97e09ba8fcc21c818d68733 (patch)
treed57f5bcf207e60214a7e00b5eb9fdbbf428ce3a7 /libc/misc
parentde77369cf4e80cb3c5ec250a25d2237df4abba11 (diff)
Hide some wcs*
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/regex/regex.c1
-rw-r--r--libc/misc/wchar/wstdio.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libc/misc/regex/regex.c b/libc/misc/regex/regex.c
index 5f2e90da3..0d4cabe83 100644
--- a/libc/misc/regex/regex.c
+++ b/libc/misc/regex/regex.c
@@ -26,6 +26,7 @@
#define memcmp __memcmp
#define strcmp __strcmp
#define strlen __strlen
+#define wcslen __wcslen
/* for some reason this does not work */
#define memcpy __memcpy
diff --git a/libc/misc/wchar/wstdio.c b/libc/misc/wchar/wstdio.c
index b49494f35..55acc7187 100644
--- a/libc/misc/wchar/wstdio.c
+++ b/libc/misc/wchar/wstdio.c
@@ -49,6 +49,7 @@
* Should auto_wr_transition init the mbstate object?
*/
+#define wcslen __wcslen
#define _GNU_SOURCE
#include <stdio.h>