diff --git a/io/bits/statx-generic.h b/io/bits/statx-generic.h index da199ddaa1..2b6d8dac63 100644 --- a/io/bits/statx-generic.h +++ b/io/bits/statx-generic.h @@ -64,6 +64,6 @@ __BEGIN_DECLS /* Fill *BUF with information about PATH in DIRFD. */ int statx (int __dirfd, const char *__restrict __path, int __flags, unsigned int __mask, struct statx *__restrict __buf) - __THROW __nonnull ((2, 5)); + __THROW __nonnull ((5)); __END_DECLS diff --git a/io/sys/stat.h b/io/sys/stat.h index dd96b88d0f..1e2adba4c4 100644 --- a/io/sys/stat.h +++ b/io/sys/stat.h @@ -263,14 +263,14 @@ extern int __REDIRECT_NTH (fstat64, (int __fd, struct stat64 *__buf), # ifndef __USE_FILE_OFFSET64 extern int fstatat (int __fd, const char *__restrict __file, struct stat *__restrict __buf, int __flag) - __THROW __nonnull ((2, 3)); + __THROW __nonnull ((3)); # else # ifdef __USE_TIME64_REDIRECTS # ifdef __REDIRECT_NTH extern int __REDIRECT_NTH (fstatat, (int __fd, const char *__restrict __file, struct stat *__restrict __buf, int __flag), - __fstatat64_time64) __nonnull ((2, 3)); + __fstatat64_time64) __nonnull ((3)); # else # define fstatat __fstatat64_time64 # endif @@ -279,7 +279,7 @@ extern int __REDIRECT_NTH (fstatat, (int __fd, const char *__restrict __file, extern int __REDIRECT_NTH (fstatat, (int __fd, const char *__restrict __file, struct stat *__restrict __buf, int __flag), - fstatat64) __nonnull ((2, 3)); + fstatat64) __nonnull ((3)); # else # define fstatat fstatat64 # endif @@ -290,7 +290,7 @@ extern int __REDIRECT_NTH (fstatat, (int __fd, const char *__restrict __file, # ifndef __USE_TIME64_REDIRECTS extern int fstatat64 (int __fd, const char *__restrict __file, struct stat64 *__restrict __buf, int __flag) - __THROW __nonnull ((2, 3)); + __THROW __nonnull ((3)); # else # ifdef __REDIRECT_NTH extern int __REDIRECT_NTH (fstatat64, (int __fd, @@ -298,7 +298,7 @@ extern int __REDIRECT_NTH (fstatat64, (int __fd, struct stat64 *__restrict __buf, int __flag), __fstatat64_time64) - __nonnull ((2, 3)); + __nonnull ((3)); # else # define fstatat64 __fstatat64_time64 # endif