From 114c80f1416617399c85c2df09dd307532399903 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 19 Sep 2011 23:35:48 -0400 Subject: fix the definition of struct statvfs to match lsb abi at the same time, make struct statfs match the traditional definition and make it more useful, especially the fsid_t stuff. --- src/stat/fstatvfs.c | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/stat/fstatvfs.c (limited to 'src/stat/fstatvfs.c') 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 -#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); -- cgit v1.2.1