summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-12 21:45:40 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-12 21:45:40 +0000
commit1b64c27a9ed938cb4a7d26a5d510377f0cacd175 (patch)
tree94cf950c3d7d5eea477480e148266da07d891814 /io
parent1ad07b77396821ee5b69a30bafa9df035d44cd59 (diff)
* io/sys/stat.h: Add restrict to fstatat declarations.
Diffstat (limited to 'io')
-rw-r--r--io/sys/stat.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/io/sys/stat.h b/io/sys/stat.h
index d164645a8e..6ce3a1be66 100644
--- a/io/sys/stat.h
+++ b/io/sys/stat.h
@@ -233,20 +233,23 @@ 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,
- int __flag) __THROW __nonnull ((2, 3));
+extern int fstatat (int __fd, __const char *__restrict __file,
+ struct stat *__restrict __buf, int __flag)
+ __THROW __nonnull ((2, 3));
# else
# ifdef __REDIRECT_NTH
-extern int __REDIRECT_NTH (fstatat, (int __fd, __const char *__file,
- struct stat *__buf, int __flag),
+extern int __REDIRECT_NTH (fstatat, (int __fd, __const char *__restrict __file,
+ struct stat *__restrict __buf,
+ int __flag),
fstatat64) __nonnull ((2, 3));
# else
# define fstatat fstatat64
# endif
# endif
-extern int fstatat64 (int __fd, __const char *__file, struct stat64 *__buf,
- int __flag) __THROW __nonnull ((2, 3));
+extern int fstatat64 (int __fd, __const char *__restrict __file,
+ struct stat64 *__restrict __buf, int __flag)
+ __THROW __nonnull ((2, 3));
#endif
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED