summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/statfs.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-10 02:26:40 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-10 02:26:40 +0000
commit4630734862469df584281dc9042e8b81a9bcd6a3 (patch)
tree5d7598574e83d970b7faa026f99c0b94513dbef3 /libc/sysdeps/linux/common/statfs.c
parentbba849fc7f8c04490f4a7dd4535142ebfa00174b (diff)
dont bother with a pass through call
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)