From ad4b89be486445ce83613c0a0c5e0ede717345ce Mon Sep 17 00:00:00 2001 From: Andrew Hsieh Date: Wed, 7 Jan 2015 18:12:46 +0800 Subject: Fix prototype of strtoll_l, strtoull_l, towlower_l and towupper_l Change-Id: I05d6a4dae1bd191eb08c628fa4c2f65210dd25a7 --- 9/sources/android/support/include/stdlib.h | 4 ++-- 9/sources/android/support/include/wctype.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/9/sources/android/support/include/stdlib.h b/9/sources/android/support/include/stdlib.h index 359a421..f145219 100644 --- a/9/sources/android/support/include/stdlib.h +++ b/9/sources/android/support/include/stdlib.h @@ -44,8 +44,8 @@ void _Exit(int); int mbtowc(wchar_t *pwc, const char *pmb, size_t max); long strtol_l(const char *nptr, char **endptr, int base, locale_t loc); unsigned long strtoul_l(const char *nptr, char **endptr, int base, locale_t loc); -long long strtoll_l(const char *nptr, char **endptr, size_t base, locale_t loc); -unsigned long long strtoull_l(const char *nptr, char **endptr, size_t base, locale_t loc); +long long strtoll_l(const char *nptr, char **endptr, int base, locale_t loc); +unsigned long long strtoull_l(const char *nptr, char **endptr, int base, locale_t loc); long double strtold_l(const char *nptr, char **endptr, locale_t loc); #endif // !__LP64__ diff --git a/9/sources/android/support/include/wctype.h b/9/sources/android/support/include/wctype.h index c0fdebf..6efc58a 100644 --- a/9/sources/android/support/include/wctype.h +++ b/9/sources/android/support/include/wctype.h @@ -84,8 +84,8 @@ int iswspace_l(wint_t, locale_t); int iswupper_l(wint_t, locale_t); int iswxdigit_l(wint_t, locale_t); -wint_t towlower_l(wint_t, locale_t); -wint_t towupper_l(wint_t, locale_t); +int towlower_l(int, locale_t); +int towupper_l(int, locale_t); #endif // !__LP64__ -- cgit v1.1