From d16463090097b7257b382bceee74410b55316559 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 14 Sep 2000 01:43:19 +0000 Subject: Update. * libio/stdio.h: Define __FILE if __need___FILE is defined. * stdio/stdio.h: Likewise. * wcsmbs/wchar.h: Get definition of __FILE. Use __FILE instead of FILE. * include/stdio.h: Handle __need___FILE like __need_FILE. * include/wchar.h: Use __FILE instead of FILE. * libio/fwprintf.c: Include for FILE definition. * libio/fwscanf.c: Likewise. * libio/getwc.c: Likewise. * sysdeps/generic/stdint.h (WINT_MAX): Define to 4294967295u. * sysdeps/generic/bits/wchar.h (WCHAR_MIN): Define to -2147483647 - 1. * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Likewise. * assert/assert.h: Update comment header about ISO C section. * math/complex.h: Likewise. * ctype/ctype.h: Likewise. * include/errno.h: Likewise. * include/limits.h: Likewise. * locale/locale.h: Likewise. * math/math.h: Likewise. * setjmp/setjmp.h: Likewise. * signal/signal.h: Likewise. * stdio/stdio.h: Likewise. * libio/stdio.h: Likewise. * stdlib/stdlib.h: Likewise. * string/string.h: Likewise. * time/time.h: Likewise. * wcsmbs/wchar.h: Likewise. * wctype/wctype.h: Likewise. Patches by Joseph S. Myers . 2000-09-13 Andreas Jaeger * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Fix test for no more entries. * sysdeps/unix/sysv/aix/bits/socket.h (__cmsg_nxthdr): Likewise. * sysdeps/unix/sysv/linux/mips/bits/socket.h (__cmsg_nxthdr): Likewise. Reported by Eric S. Johnson , closes PR libc/1887. 2000-09-13 Ulrich Drepper --- include/errno.h | 2 +- include/limits.h | 2 +- include/stdio.h | 4 ++-- include/wchar.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/errno.h b/include/errno.h index 23e0b8f..a4abaa4 100644 --- a/include/errno.h +++ b/include/errno.h @@ -17,7 +17,7 @@ Boston, MA 02111-1307, USA. */ /* - * ISO C Standard: 4.1.3 Errors + * ISO C99 Standard: 7.5 Errors */ #ifndef _ERRNO_H diff --git a/include/limits.h b/include/limits.h index 23b4f40..643c32d 100644 --- a/include/limits.h +++ b/include/limits.h @@ -17,7 +17,7 @@ Boston, MA 02111-1307, USA. */ /* - * ISO C Standard: 4.14/2.2.4.2 Limits of integral types + * ISO C99 Standard: 7.10/5.2.4.2.1 Sizes of integer types */ #ifndef _LIBC_LIMITS_H_ diff --git a/include/stdio.h b/include/stdio.h index 0329fe2..8617fea 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -1,5 +1,5 @@ #ifndef _STDIO_H -# ifdef __need_FILE +# if defined __need_FILE || defined __need___FILE # ifdef USE_IN_LIBIO # include # else @@ -55,7 +55,7 @@ extern void __flockfile (FILE *__stream); /* Relinquish the ownership granted for STREAM. */ extern void __funlockfile (FILE *__stream); - + # endif #endif diff --git a/include/wchar.h b/include/wchar.h index ee12563..c6cc9cb 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -43,7 +43,7 @@ extern wchar_t *__wmemmove (wchar_t *__s1, __const wchar_t *__s2, extern wchar_t *__wcschrnul (__const wchar_t *__s, wchar_t __wc) __attribute_pure__; -extern int __vfwscanf (FILE *__restrict __s, +extern int __vfwscanf (__FILE *__restrict __s, __const wchar_t *__restrict __format, __gnuc_va_list __arg) /* __attribute__ ((__format__ (__wscanf__, 2, 0)) */; -- cgit v1.1