diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/fcntl.h | 4 | ||||
-rw-r--r-- | include/sched.h | 1 | ||||
-rw-r--r-- | include/stdlib.h | 26 | ||||
-rw-r--r-- | include/sys/stat.h | 2 | ||||
-rw-r--r-- | include/time.h | 2 | ||||
-rw-r--r-- | include/wchar.h | 9 |
6 files changed, 36 insertions, 8 deletions
diff --git a/include/fcntl.h b/include/fcntl.h index 610e322cfd..f00881449d 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -25,4 +25,8 @@ extern void __atfct_seterrno_2 (int errval, int fd1, const char *buf1, int fd2, const char *buf2) attribute_hidden; + +/* Flag determining whether the *at system calls are available. */ +extern int __have_atfcts attribute_hidden; + #endif diff --git a/include/sched.h b/include/sched.h index 4a142c69af..7b057ea833 100644 --- a/include/sched.h +++ b/include/sched.h @@ -10,6 +10,7 @@ extern int __sched_setscheduler (__pid_t __pid, int __policy, libc_hidden_proto (__sched_setscheduler) extern int __sched_getscheduler (__pid_t __pid); extern int __sched_yield (void); +libc_hidden_proto (__sched_yield) extern int __sched_get_priority_max (int __algorithm); extern int __sched_get_priority_min (int __algorithm); extern int __sched_rr_get_interval (__pid_t __pid, struct timespec *__t); 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/sys/stat.h b/include/sys/stat.h index 4a4d05d938..72105a45a9 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -31,6 +31,8 @@ extern __inline__ int __mknod (__const char *__path, __mode_t __mode, } libc_hidden_proto (__xmknodat) +libc_hidden_proto (__fxstatat64) + /* The `stat', `fstat', `lstat' functions have to be handled special since even while not compiling the library with optimization calls to these diff --git a/include/time.h b/include/time.h index adf2dea1ec..224736540b 100644 --- a/include/time.h +++ b/include/time.h @@ -92,7 +92,7 @@ extern int __getclktck (void); /* strptime support. */ /* Status of lookup: do we use the locale data or the raw data? */ #ifndef __cplusplus -// C++ cannot deal with using 'not'. +/* C++ cannot deal with using 'not'. */ enum ptime_locale_status { not, loc, raw }; extern char * __strptime_internal (const char *rp, const char *fmt, 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. */ |