From da11b775b17c35a2f9019706df3c1d65554d2fb0 Mon Sep 17 00:00:00 2001 From: Brad Smith Date: Mon, 18 Jul 2022 09:14:08 -0400 Subject: [PATCH] [libcxx] Fix copy and pasto that broke the build on Android/Fuchsia Reviewed by: Mordante, phosek Differential Revision: https://reviews.llvm.org/D129978 --- libcxx/include/__support/xlocale/__strtonum_fallback.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libcxx/include/__support/xlocale/__strtonum_fallback.h b/libcxx/include/__support/xlocale/__strtonum_fallback.h index ae1e1c8..1978090 100644 --- a/libcxx/include/__support/xlocale/__strtonum_fallback.h +++ b/libcxx/include/__support/xlocale/__strtonum_fallback.h @@ -19,42 +19,42 @@ extern "C" { #endif -inline _LIBCPP_HIDE_FROM_ABI int float +inline _LIBCPP_HIDE_FROM_ABI float strtof_l(const char *__nptr, char **__endptr, locale_t) { return ::strtof(__nptr, __endptr); } -inline _LIBCPP_HIDE_FROM_ABI int double +inline _LIBCPP_HIDE_FROM_ABI double strtod_l(const char *__nptr, char **__endptr, locale_t) { return ::strtod(__nptr, __endptr); } -inline _LIBCPP_HIDE_FROM_ABI int long double +inline _LIBCPP_HIDE_FROM_ABI long double strtold_l(const char *__nptr, char **__endptr, locale_t) { return ::strtold(__nptr, __endptr); } -inline _LIBCPP_HIDE_FROM_ABI int long long +inline _LIBCPP_HIDE_FROM_ABI long long strtoll_l(const char *__nptr, char **__endptr, int __base, locale_t) { return ::strtoll(__nptr, __endptr, __base); } -inline _LIBCPP_HIDE_FROM_ABI int unsigned long long +inline _LIBCPP_HIDE_FROM_ABI unsigned long long strtoull_l(const char *__nptr, char **__endptr, int __base, locale_t) { return ::strtoull(__nptr, __endptr, __base); } -inline _LIBCPP_HIDE_FROM_ABI int long long +inline _LIBCPP_HIDE_FROM_ABI long long wcstoll_l(const wchar_t *__nptr, wchar_t **__endptr, int __base, locale_t) { return ::wcstoll(__nptr, __endptr, __base); } -inline _LIBCPP_HIDE_FROM_ABI int unsigned long long +inline _LIBCPP_HIDE_FROM_ABI unsigned long long wcstoull_l(const wchar_t *__nptr, wchar_t **__endptr, int __base, locale_t) { return ::wcstoull(__nptr, __endptr, __base); } -inline _LIBCPP_HIDE_FROM_ABI int long double +inline _LIBCPP_HIDE_FROM_ABI long double wcstold_l(const wchar_t *__nptr, wchar_t **__endptr, locale_t) { return ::wcstold(__nptr, __endptr); } -- 2.7.4