From: Ulrich Drepper Date: Thu, 17 Nov 2005 15:29:42 +0000 (+0000) Subject: * io/sys/stat.h: Use __const not const in fstatat prototypes. X-Git-Tag: cvs/fedora-glibc-20051119T1959~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=be71aa3c5575b2d30f08c68bec84bccc5621508c;p=platform%2Fupstream%2Fglibc.git * io/sys/stat.h: Use __const not const in fstatat prototypes. --- 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