From be71aa3c5575b2d30f08c68bec84bccc5621508c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 17 Nov 2005 15:29:42 +0000 Subject: * io/sys/stat.h: Use __const not const in fstatat prototypes. --- ChangeLog | 4 ++++ io/sys/stat.h | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c8af269..c1b3a9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-11-17 Ulrich Drepper + + * io/sys/stat.h: Use __const not const in fstatat prototypes. + 2005-11-08 H.J. Lu * 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 -- cgit v1.1