mirror of git://sourceware.org/git/glibc.git
* io/sys/stat.h: Add restrict to fstatat declarations.
This commit is contained in:
parent
1ad07b7739
commit
1b64c27a9e
|
@ -1,3 +1,7 @@
|
||||||
|
2005-12-12 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* io/sys/stat.h: Add restrict to fstatat declarations.
|
||||||
|
|
||||||
2005-12-10 Ulrich Drepper <drepper@redhat.com>
|
2005-12-10 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* posix/regex_internal.h: Include <stdint.h> if available.
|
* posix/regex_internal.h: Include <stdint.h> if available.
|
||||||
|
|
|
@ -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
|
Relative path names are interpreted relative to FD unless FD is
|
||||||
AT_FDCWD. */
|
AT_FDCWD. */
|
||||||
# ifndef __USE_FILE_OFFSET64
|
# ifndef __USE_FILE_OFFSET64
|
||||||
extern int fstatat (int __fd, __const char *__file, struct stat *__buf,
|
extern int fstatat (int __fd, __const char *__restrict __file,
|
||||||
int __flag) __THROW __nonnull ((2, 3));
|
struct stat *__restrict __buf, int __flag)
|
||||||
|
__THROW __nonnull ((2, 3));
|
||||||
# else
|
# else
|
||||||
# ifdef __REDIRECT_NTH
|
# ifdef __REDIRECT_NTH
|
||||||
extern int __REDIRECT_NTH (fstatat, (int __fd, __const char *__file,
|
extern int __REDIRECT_NTH (fstatat, (int __fd, __const char *__restrict __file,
|
||||||
struct stat *__buf, int __flag),
|
struct stat *__restrict __buf,
|
||||||
|
int __flag),
|
||||||
fstatat64) __nonnull ((2, 3));
|
fstatat64) __nonnull ((2, 3));
|
||||||
# else
|
# else
|
||||||
# define fstatat fstatat64
|
# define fstatat fstatat64
|
||||||
# endif
|
# endif
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
extern int fstatat64 (int __fd, __const char *__file, struct stat64 *__buf,
|
extern int fstatat64 (int __fd, __const char *__restrict __file,
|
||||||
int __flag) __THROW __nonnull ((2, 3));
|
struct stat64 *__restrict __buf, int __flag)
|
||||||
|
__THROW __nonnull ((2, 3));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
|
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED
|
||||||
|
|
Loading…
Reference in New Issue