diff options
author | Elliott Hughes <enh@google.com> | 2014-04-29 14:45:58 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-04-29 15:15:24 -0700 |
commit | b83642f7bb3b3877bf803a5b01152754473f5257 (patch) | |
tree | d988db0ee18845e0e17970c35ddc12eba2da6898 | |
parent | 91e057305df0e98fe153b51cc767c03a38ba555f (diff) | |
download | external_libcxx-b83642f7bb3b3877bf803a5b01152754473f5257.tar.gz external_libcxx-b83642f7bb3b3877bf803a5b01152754473f5257.tar.bz2 external_libcxx-b83642f7bb3b3877bf803a5b01152754473f5257.zip |
Remove most of the remaining wide-char stubs from libcxx.
We still need declarations for the C99 wide scanf stuff. I'll be back...
Change-Id: I6e222a05bf61101e7374b9ef54581459d7a0e1c4
-rw-r--r-- | include/support/android/wchar_bionic.h | 8 | ||||
-rw-r--r-- | src/stubs.cpp | 44 |
2 files changed, 0 insertions, 52 deletions
diff --git a/include/support/android/wchar_bionic.h b/include/support/android/wchar_bionic.h index 91985e4dc..c942d6ee4 100644 --- a/include/support/android/wchar_bionic.h +++ b/include/support/android/wchar_bionic.h @@ -20,14 +20,6 @@ extern "C" { int vfwscanf(FILE *, const wchar_t *, va_list); int vswscanf(const wchar_t *, const wchar_t *, va_list); int vwscanf(const wchar_t *, va_list); -float wcstof(const wchar_t *, wchar_t **); -double wcstod(const wchar_t *, wchar_t **); -long double wcstold(const wchar_t *, wchar_t **); -long long wcstoll(const wchar_t *, wchar_t **, int); -unsigned long long wcstoull(const wchar_t *, wchar_t **, int); -size_t wcsnrtombs(char *, const wchar_t **, size_t, size_t, mbstate_t *); -size_t mbsnrtowcs(wchar_t *, const char **, size_t, size_t, mbstate_t *); -int mbtowc(wchar_t *, const char *, size_t); #ifdef __cplusplus } diff --git a/src/stubs.cpp b/src/stubs.cpp index 1e20ada2a..25b7e9645 100644 --- a/src/stubs.cpp +++ b/src/stubs.cpp @@ -26,50 +26,6 @@ static void unimplemented_stub(const char* function) { #define UNIMPLEMENTED unimplemented_stub(__PRETTY_FUNCTION__) -float wcstof(const wchar_t *, wchar_t **) -{ - UNIMPLEMENTED; - return 0; -} - -double wcstod(const wchar_t *, wchar_t **) -{ - UNIMPLEMENTED; - return 0; -} - -long double wcstold(const wchar_t *, wchar_t **) -{ - UNIMPLEMENTED; - return 0; -} - -long long wcstoll(const wchar_t *, wchar_t **, int) -{ - UNIMPLEMENTED; - return 0; -} - -unsigned long long wcstoull(const wchar_t *, wchar_t **, int) -{ - UNIMPLEMENTED; - return 0; -} - -size_t wcsnrtombs(char *, const wchar_t **, size_t, size_t, mbstate_t *) -{ - UNIMPLEMENTED; - errno = EILSEQ; - return (size_t)-1; -} - -size_t mbsnrtowcs(wchar_t *, const char **, size_t, size_t, mbstate_t *) -{ - UNIMPLEMENTED; - errno = EILSEQ; - return (size_t)-1; -} - nl_catd catopen(const char *, int) { UNIMPLEMENTED; |