Add lconv declaration and localeconv(3)

lconv is taken from ndk/sources/android/support/include/locale.h and
matches
bsd/glibc upstream.
Keep old declaration for 32-bits for compatibility.
localeconv.c and deps are taken from openbsd upstream.
Changed strtod.c accordingly.

Change-Id: I9fcc4d15f5674d192950d80edf26f36006cd31b4
Signed-off-by: Pavel Chupin <pavel.v.chupin@intel.com>
This commit is contained in:
Pavel Chupin
2014-03-25 13:43:04 +04:00
committed by Calin Juravle
parent a58b3f78e1
commit 50282f72bb
13 changed files with 340 additions and 5 deletions

View File

@@ -14,6 +14,11 @@ libc_common_src_files_arm64 := \
upstream-freebsd/lib/libc/string/wcslen.c \
upstream-freebsd/lib/libc/string/wcsrchr.c \
upstream-freebsd/lib/libc/string/wmemcmp.c \
upstream-openbsd/lib/libc/locale/_def_numeric.c \
upstream-openbsd/lib/libc/locale/_def_messages.c \
upstream-openbsd/lib/libc/locale/_def_monetary.c \
upstream-openbsd/lib/libc/locale/_def_time.c \
upstream-openbsd/lib/libc/locale/localeconv.c \
upstream-openbsd/lib/libc/string/bcopy.c \
upstream-openbsd/lib/libc/string/strcat.c \
upstream-openbsd/lib/libc/string/strcpy.c \