diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-11-17 15:29:42 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-11-17 15:29:42 +0000 |
commit | be71aa3c5575b2d30f08c68bec84bccc5621508c (patch) | |
tree | 9f32c8375ef6caf36c5e97d714204e18b15013eb | |
parent | e6e493bbc4a8122acfba53ecf719e10d82974aa3 (diff) | |
download | glibc-be71aa3c5575b2d30f08c68bec84bccc5621508c.tar.gz glibc-be71aa3c5575b2d30f08c68bec84bccc5621508c.tar.xz glibc-be71aa3c5575b2d30f08c68bec84bccc5621508c.zip |
* io/sys/stat.h: Use __const not const in fstatat prototypes.
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | io/sys/stat.h | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog index c8af2699bb..c1b3a9fe42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 87eca61275..c4b307f2bb 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 |