Merge "Fix incorrect parameter types for locale funcs."
This commit is contained in:
commit
fc5a93f7a2
@ -28,6 +28,6 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
long long strtoll_l(const char *nptr, char **endptr, size_t base, locale_t) {
|
||||
long long strtoll_l(const char *nptr, char **endptr, int base, locale_t) {
|
||||
return strtoll(nptr, endptr, base);
|
||||
}
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
unsigned long long strtoull_l(const char *nptr, char **endptr, size_t base,
|
||||
unsigned long long strtoull_l(const char *nptr, char **endptr, int base,
|
||||
locale_t) {
|
||||
return strtoull(nptr, endptr, base);
|
||||
}
|
||||
|
@ -230,13 +230,13 @@ size_t wcsxfrm_l(wchar_t *dest, const wchar_t *src, size_t n, locale_t) {
|
||||
return wcsxfrm(dest, src, n);
|
||||
}
|
||||
|
||||
long long wcstoll_l(const wchar_t *nptr, wchar_t **endptr, size_t base,
|
||||
long long wcstoll_l(const wchar_t *nptr, wchar_t **endptr, int base,
|
||||
locale_t) {
|
||||
return wcstoll(nptr, endptr, base);
|
||||
}
|
||||
|
||||
unsigned long long wcstoull_l(const wchar_t *nptr, wchar_t **endptr,
|
||||
size_t base, locale_t) {
|
||||
int base, locale_t) {
|
||||
return wcstoull(nptr, endptr, base);
|
||||
}
|
||||
|
||||
|
@ -83,8 +83,8 @@ extern float strtof(const char*, char**) __LIBC_ABI_PUBLIC__;
|
||||
extern long double strtold(const char*, char**) __LIBC_ABI_PUBLIC__;
|
||||
|
||||
extern long double strtold_l(const char *, char **, locale_t) __LIBC_ABI_PUBLIC__;
|
||||
extern long long strtoll_l(const char *, char **, size_t, locale_t) __LIBC_ABI_PUBLIC__;
|
||||
extern unsigned long long strtoull_l(const char *, char **, size_t, locale_t) __LIBC_ABI_PUBLIC__;
|
||||
extern long long strtoll_l(const char *, char **, int, locale_t) __LIBC_ABI_PUBLIC__;
|
||||
extern unsigned long long strtoull_l(const char *, char **, int, locale_t) __LIBC_ABI_PUBLIC__;
|
||||
|
||||
extern int atoi(const char*) __purefunc;
|
||||
extern long atol(const char*) __purefunc;
|
||||
|
@ -151,8 +151,8 @@ extern wchar_t *wmemset(wchar_t *, wchar_t, size_t);
|
||||
extern int wprintf(const wchar_t *, ...);
|
||||
extern int wscanf(const wchar_t *, ...);
|
||||
|
||||
extern long long wcstoll_l(const wchar_t *, wchar_t **, size_t, locale_t);
|
||||
extern unsigned long long wcstoull_l(const wchar_t *, wchar_t **, size_t, locale_t);
|
||||
extern long long wcstoll_l(const wchar_t *, wchar_t **, int, locale_t);
|
||||
extern unsigned long long wcstoull_l(const wchar_t *, wchar_t **, int, locale_t);
|
||||
extern long double wcstold_l(const wchar_t *, wchar_t **, locale_t );
|
||||
|
||||
extern int wcscoll_l(const wchar_t *, const wchar_t *, locale_t);
|
||||
|
Loading…
Reference in New Issue
Block a user