diff options
-rw-r--r-- | tests/src/libsystem.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/src/libsystem.c b/tests/src/libsystem.c index b47b4523..aed3b8cf 100644 --- a/tests/src/libsystem.c +++ b/tests/src/libsystem.c @@ -329,6 +329,10 @@ stat64 (const char *path, struct stat64 *buf) return _stat64 (new_path, buf); } +// glibc 2.33 and newer does not declare these functions in a header file +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wmissing-prototypes" + int __xstat (int version, const char *path, struct stat *buf) { @@ -365,6 +369,8 @@ __fxstatat64(int ver, int dirfd, const char *pathname, struct stat64 *buf, int f return ___fxstatat64 (ver, dirfd, new_path, buf, flags); } +#pragma GCC diagnostic pop + DIR * opendir (const char *name) { |