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:
parent
c0141a2bdd
commit
70465614e1
@ -229,7 +229,9 @@ libc_common_src_files := \
|
|||||||
wchar/wcsstr.c \
|
wchar/wcsstr.c \
|
||||||
wchar/wcstok.c \
|
wchar/wcstok.c \
|
||||||
wchar/wcswidth.c \
|
wchar/wcswidth.c \
|
||||||
|
wchar/wcsxfrm.c \
|
||||||
wchar/wmemchr.c \
|
wchar/wmemchr.c \
|
||||||
|
wchar/wmemcmp.c \
|
||||||
wchar/wmemcpy.c \
|
wchar/wmemcpy.c \
|
||||||
wchar/wmemmove.c \
|
wchar/wmemmove.c \
|
||||||
wchar/wmemset.c \
|
wchar/wmemset.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 );
|
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)
|
int wctob(wint_t c)
|
||||||
{
|
{
|
||||||
return c;
|
return c;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user