diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-09-14 01:43:19 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-09-14 01:43:19 +0000 |
commit | d16463090097b7257b382bceee74410b55316559 (patch) | |
tree | 99c5356e53015a1a15e22e8923d9ba3d56ad853c /include | |
parent | d817a438929c3e1f83a42f70b0060e843577b299 (diff) | |
download | glibc-d16463090097b7257b382bceee74410b55316559.zip glibc-d16463090097b7257b382bceee74410b55316559.tar.gz glibc-d16463090097b7257b382bceee74410b55316559.tar.bz2 |
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 <stdio.h> 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 <jsm28@cam.ac.uk>.
2000-09-13 Andreas Jaeger <aj@suse.de>
* 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 <esj@cs.fiu.edu>, closes PR libc/1887.
2000-09-13 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/errno.h | 2 | ||||
-rw-r--r-- | include/limits.h | 2 | ||||
-rw-r--r-- | include/stdio.h | 4 | ||||
-rw-r--r-- | include/wchar.h | 2 |
4 files changed, 5 insertions, 5 deletions
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 <errno.h> + * ISO C99 Standard: 7.5 Errors <errno.h> */ #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 <limits.h> + * ISO C99 Standard: 7.10/5.2.4.2.1 Sizes of integer types <limits.h> */ #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 <libio/stdio.h> # 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)) */; |