summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/statfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/statfs.c')
-rw-r--r--libc/sysdeps/linux/common/statfs.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/libc/sysdeps/linux/common/statfs.c b/libc/sysdeps/linux/common/statfs.c
index cc7425f3c..5da94d6f2 100644
--- a/libc/sysdeps/linux/common/statfs.c
+++ b/libc/sysdeps/linux/common/statfs.c
@@ -13,13 +13,5 @@
#include <sys/vfs.h>
libc_hidden_proto(statfs)
-
-#define __NR___syscall_statfs __NR_statfs
-static inline _syscall2(int, __syscall_statfs,
- const char *, path, struct statfs *, buf);
-
-int statfs(const char *path, struct statfs * buf)
-{
- return __syscall_statfs(path, buf);
-}
+_syscall2(int, statfs, const char *, path, struct statfs *, buf);
libc_hidden_def(statfs)