summaryrefslogtreecommitdiffstats
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/Android.mk2
-rw-r--r--libc/stdlib/wchar.c6
2 files changed, 2 insertions, 6 deletions
diff --git a/libc/Android.mk b/libc/Android.mk
index b0301ef..4cfa17c 100644
--- a/libc/Android.mk
+++ b/libc/Android.mk
@@ -229,7 +229,9 @@ libc_common_src_files := \
wchar/wcsstr.c \
wchar/wcstok.c \
wchar/wcswidth.c \
+ wchar/wcsxfrm.c \
wchar/wmemchr.c \
+ wchar/wmemcmp.c \
wchar/wmemcpy.c \
wchar/wmemmove.c \
wchar/wmemset.c \
diff --git a/libc/stdlib/wchar.c b/libc/stdlib/wchar.c
index 1480212..d83613a 100644
--- a/libc/stdlib/wchar.c
+++ b/libc/stdlib/wchar.c
@@ -302,12 +302,6 @@ wchar_t *wcswcs(const wchar_t *ws1, const wchar_t *ws2)
return (wchar_t*) strstr( (const char*)ws1, (const char*)ws2 );
}
-size_t wcsxfrm(wchar_t *ws1, const wchar_t *ws2, size_t n)
-{
- memcpy( (char*)ws1, (const char*)ws2, n );
- return n;
-}
-
int wctob(wint_t c)
{
return c;