diff --git a/src/stat/__fxstat.c b/src/stat/__fxstat.c deleted file mode 100644 index fd39ee3d6cfaf425fe056d7fe0388217fab49c65..0000000000000000000000000000000000000000 --- a/src/stat/__fxstat.c +++ /dev/null @@ -1,9 +0,0 @@ -#include -#include "libc.h" - -int __fxstat(int ver, int fd, struct stat *buf) -{ - return fstat(fd, buf); -} - -LFS64(__fxstat); diff --git a/src/stat/__fxstatat.c b/src/stat/__fxstatat.c deleted file mode 100644 index e389dec798e08571d478a4de177b3f642274f069..0000000000000000000000000000000000000000 --- a/src/stat/__fxstatat.c +++ /dev/null @@ -1,9 +0,0 @@ -#include -#include "libc.h" - -int __fxstatat(int ver, int fd, const char *path, struct stat *buf, int flag) -{ - return fstatat(fd, path, buf, flag); -} - -LFS64(__fxstatat); diff --git a/src/stat/__lxstat.c b/src/stat/__lxstat.c deleted file mode 100644 index e9992ed2b85aa60ae972e0bba51bf7575483e081..0000000000000000000000000000000000000000 --- a/src/stat/__lxstat.c +++ /dev/null @@ -1,9 +0,0 @@ -#include -#include "libc.h" - -int __lxstat(int ver, const char *path, struct stat *buf) -{ - return lstat(path, buf); -} - -LFS64(__lxstat); diff --git a/src/stat/__xstat.c b/src/stat/__xstat.c index 42011d5f4af453197e6e9687fbfbcb1e5d4c9a02..8138cbe8f53d94df2688ffd6b5c90d983e713bdf 100644 --- a/src/stat/__xstat.c +++ b/src/stat/__xstat.c @@ -1,9 +1,27 @@ #include #include "libc.h" +int __fxstat(int ver, int fd, struct stat *buf) +{ + return fstat(fd, buf); +} + +int __fxstatat(int ver, int fd, const char *path, struct stat *buf, int flag) +{ + return fstatat(fd, path, buf, flag); +} + +int __lxstat(int ver, const char *path, struct stat *buf) +{ + return lstat(path, buf); +} + int __xstat(int ver, const char *path, struct stat *buf) { return stat(path, buf); } +LFS64(__fxstat); +LFS64(__fxstatat); +LFS64(__lxstat); LFS64(__xstat);