diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-11-19 20:05:14 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-11-19 20:05:14 +0000 |
commit | 8e8c8d3c871666d3c4fb0cda0147fb2231beeb09 (patch) | |
tree | 8205dc9da58d4c3090372b155fdede74e7b3d6b1 /io | |
parent | b9616a4d2d0ff113b95a638127ad27c98e6c713b (diff) | |
download | glibc-8e8c8d3c871666d3c4fb0cda0147fb2231beeb09.tar glibc-8e8c8d3c871666d3c4fb0cda0147fb2231beeb09.tar.gz glibc-8e8c8d3c871666d3c4fb0cda0147fb2231beeb09.tar.bz2 glibc-8e8c8d3c871666d3c4fb0cda0147fb2231beeb09.zip |
Updated to fedora-glibc-20051119T1959
Diffstat (limited to 'io')
-rw-r--r-- | io/sys/stat.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h index 87eca61275..03152990e7 100644 --- a/io/sys/stat.h +++ b/io/sys/stat.h @@ -233,15 +233,19 @@ 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, +# ifdef __REDIRECT_NTH +extern int __REDIRECT_NTH (fstatat, (int __fd, __const char *__file, struct stat *__buf, int __flag), fstatat64) __nonnull ((2, 3)); +# else +# define fstatat fstatat64 +# endif # 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 @@ -446,15 +450,16 @@ __NTH (fstat64 (int __fd, struct stat64 *__statbuf)) { return __fxstat64 (_STAT_VER, __fd, __statbuf); } -# endif -# ifdef __USE_GNU +# ifdef __USE_GNU extern __inline__ int __NTH (fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf, int __flag)) { return __fxstatat64 (_STAT_VER, __fd, __filename, __statbuf, __flag); } +# endif + # endif #endif |