about summary refs log tree commit diff
path: root/src/stat/fstatvfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stat/fstatvfs.c')
-rw-r--r--src/stat/fstatvfs.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/stat/fstatvfs.c b/src/stat/fstatvfs.c
deleted file mode 100644
index 806c3fd4..00000000
--- a/src/stat/fstatvfs.c
+++ /dev/null
@@ -1,17 +0,0 @@
-#include <sys/statvfs.h>
-#include "syscall.h"
-#include "libc.h"
-
-int fstatvfs(int fd, struct statvfs *buf)
-{
-#ifdef SYS_fstatfs64
-	return syscall(SYS_fstatfs64, fd, sizeof *buf, buf);
-#else
-	return syscall(SYS_fstatfs, fd, buf);
-#endif
-}
-
-weak_alias(fstatvfs, fstatfs);
-
-LFS64(fstatvfs);
-LFS64(fstatfs);