diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/stdlib.h | 26 | ||||
-rw-r--r-- | include/wchar.h | 9 |
2 files changed, 28 insertions, 7 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 89bee37c0a..27111b8a85 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -25,10 +25,6 @@ libc_hidden_proto (abort) libc_hidden_proto (getenv) libc_hidden_proto (bsearch) libc_hidden_proto (qsort) -libc_hidden_proto (ecvt_r) -libc_hidden_proto (fcvt_r) -libc_hidden_proto (qecvt_r) -libc_hidden_proto (qfcvt_r) libc_hidden_proto (lrand48_r) libc_hidden_proto (wctomb) libc_hidden_proto (__secure_getenv) @@ -186,6 +182,28 @@ __NTH (__strtoull_l (__const char * __restrict __nptr, return ____strtoull_l_internal (__nptr, __endptr, __base, 0, __loc); } +extern char *__ecvt (double __value, int __ndigit, int *__restrict __decpt, + int *__restrict __sign); +extern char *__fcvt (double __value, int __ndigit, int *__restrict __decpt, + int *__restrict __sign); +extern char *__gcvt (double __value, int __ndigit, char *__buf); +extern int __ecvt_r (double __value, int __ndigit, int *__restrict __decpt, + int *__restrict __sign, char *__restrict __buf, + size_t __len); +extern int __fcvt_r (double __value, int __ndigit, int *__restrict __decpt, + int *__restrict __sign, char *__restrict __buf, + size_t __len); +extern char *__qecvt (long double __value, int __ndigit, + int *__restrict __decpt, int *__restrict __sign); +extern char *__qfcvt (long double __value, int __ndigit, + int *__restrict __decpt, int *__restrict __sign); +extern char *__qgcvt (long double __value, int __ndigit, char *__buf); +extern int __qecvt_r (long double __value, int __ndigit, + int *__restrict __decpt, int *__restrict __sign, + char *__restrict __buf, size_t __len); +extern int __qfcvt_r (long double __value, int __ndigit, + int *__restrict __decpt, int *__restrict __sign, + char *__restrict __buf, size_t __len); # ifndef NOT_IN_libc # undef MB_CUR_MAX diff --git a/include/wchar.h b/include/wchar.h index e8079e6d80..89e9a4f81e 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -107,18 +107,21 @@ extern int __vswprintf (wchar_t *__restrict __s, size_t __n, /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */; extern int __fwprintf (__FILE *__restrict __s, __const wchar_t *__restrict __format, ...) - /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */; + /* __attribute__ ((__format__ (__wprintf__, 2, 3))) */; extern int __vfwprintf (__FILE *__restrict __s, __const wchar_t *__restrict __format, __gnuc_va_list __arg) + /* __attribute__ ((__format__ (__wprintf__, 2, 0))) */; +extern int __vfwprintf_chk (FILE *__restrict __s, int __flag, + const wchar_t *__restrict __format, + __gnuc_va_list __arg) /* __attribute__ ((__format__ (__wprintf__, 3, 0))) */; - - extern int __vswprintf_chk (wchar_t *__restrict __s, size_t __n, int __flag, size_t __s_len, __const wchar_t *__restrict __format, __gnuc_va_list __arg) /* __attribute__ ((__format__ (__wprintf__, 5, 0))) */; +libc_hidden_proto (__vfwprintf_chk) libc_hidden_proto (__vswprintf_chk) /* Internal functions. */ |