From 6796bc807aa3808f6afb5da42932e437bdd183cf Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 6 Sep 1998 23:45:24 +0000 Subject: Update. 1998-09-06 09:53 -0400 Zack Weinberg * Makeconfig (+gccwarn): Remove -Wno-parentheses. * elf/dl-open.c: Quiet -Wparentheses warnings. * iconvdata/johab.c: Likewise. * iconvdata/uhc.c: Likewise. * inet/inet_net.c: Likewise. * io/fts.c: Likewise. * locale/newlocale.c: Likewise. * misc/getttyent.c: Likewise. * misc/mntent_r.c: Likewise. * misc/ttyslot.c: Likewise. * nscd/nscd_conf.c: Likewise. * nss/nsswitch.c: Likewise. * resolv/gethnamaddr.c: Likewise. * resolv/nsap_addr.c: Likewise. * resolv/res_debug.c: Likewise. * stdio-common/_itoa.c: Likewise. * stdlib/strtod.c: Likewise. * string/strverscmp.c: Likewise. * sunrpc/svc.c: Likewise. * sysdeps/libm-ieee754/e_cosh.c: Likewise. * sysdeps/libm-ieee754/e_gamma_r.c: Likewise. * sysdeps/libm-ieee754/e_sinh.c: Likewise. * sysdeps/posix/getaddrinfo.c: Likewise. * include/dlfcn.h: Likewise. * elf/dlfcn.h: Declare dladdr only for __USE_GNU. Define RTLD_DEFAULT. --- libio/stdio.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libio/stdio.h') diff --git a/libio/stdio.h b/libio/stdio.h index 774003b..8770997 100644 --- a/libio/stdio.h +++ b/libio/stdio.h @@ -559,12 +559,12 @@ typedef __off64_t off64_t; #ifndef __USE_FILE_OFFSET64 -# ifndef __USE_UNIX98 +# ifdef __USE_UNIX98 /* Seek to a certain position on STREAM. */ extern int fseeko __P ((FILE *__stream, __off_t __off, int __whence)); /* Return the current position of STREAM. */ extern __off_t ftello __P ((FILE *__stream)); -#endif +# endif /* Get STREAM's position. */ extern int fgetpos __P ((FILE *__restrict __stream, @@ -573,7 +573,7 @@ extern int fgetpos __P ((FILE *__restrict __stream, extern int fsetpos __P ((FILE *__stream, __const fpos_t *__pos)); #else # ifdef __REDIRECT -# ifndef __USE_UNIX98 +# ifdef __USE_UNIX98 extern int __REDIRECT (fseeko, __P ((FILE *__stream, __off64_t __off, int __whence)), fseeko64); @@ -584,7 +584,7 @@ extern int __REDIRECT (fgetpos, __P ((FILE *__restrict __stream, extern int __REDIRECT (fsetpos, __P ((FILE *__stream, __const fpos_t *__pos)), fsetpos64); # else -# ifndef __USE_UNIX98 +# ifdef __USE_UNIX98 # define fseeko fseeko64 # define ftello ftello64 # endif @@ -594,7 +594,7 @@ extern int __REDIRECT (fsetpos, __P ((FILE *__stream, __const fpos_t *__pos)), #endif #ifdef __USE_LARGEFILE64 -# ifndef __USE_UNIX98 +# ifdef __USE_UNIX98 extern int fseeko64 __P ((FILE *__stream, __off64_t __off, int __whence)); extern __off64_t ftello64 __P ((FILE *__stream)); # endif -- cgit v1.1