Just link fixes for b 2763938.

Added wcsxfrm.c and wmemcmp.c to the src files in Android.mk and removed wcsxfrm from wchar.c

Change-Id: Iab9b45cf78c27880d2941c360340a7af6b8964fe
This commit is contained in:
Kristian Monsen 2010-06-16 14:51:52 +01:00
parent c0141a2bdd
commit 70465614e1
2 changed files with 2 additions and 6 deletions

View File

@ -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 \

View File

@ -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;