diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | io/sys/stat.h | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,3 +1,7 @@ +2005-11-17 Ulrich Drepper <drepper@redhat.com> + + * io/sys/stat.h: Use __const not const in fstatat prototypes. + 2005-11-08 H.J. Lu <hongjiu.lu@intel.com> * sysdeps/wordsize-32/Makefile (CPPFLAGS-divdi3.c): Set to diff --git a/io/sys/stat.h b/io/sys/stat.h index 87eca61..c4b307f 100644 --- a/io/sys/stat.h +++ b/io/sys/stat.h @@ -233,15 +233,15 @@ extern int fstat64 (int __fd, struct stat64 *__buf) __THROW __nonnull ((2)); Relative path names are interpreted relative to FD unless FD is AT_FDCWD. */ # ifndef __USE_FILE_OFFSET64 -extern int fstatat (int __fd, const char *__file, struct stat *__buf, +extern int fstatat (int __fd, __const char *__file, struct stat *__buf, int __flag) __THROW __nonnull ((2, 3)); # else -extern int __REDIRECT_NTH (fstatat, (int __fd, const char *__file, +extern int __REDIRECT_NTH (fstatat, (int __fd, __const char *__file, struct stat *__buf, int __flag), fstatat64) __nonnull ((2, 3)); # endif -extern int fstatat64 (int __fd, const char *__file, struct stat64 *__buf, +extern int fstatat64 (int __fd, __const char *__file, struct stat64 *__buf, int __flag) __THROW __nonnull ((2, 3)); #endif |