From 4630734862469df584281dc9042e8b81a9bcd6a3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 10 Feb 2006 02:26:40 +0000 Subject: dont bother with a pass through call --- libc/sysdeps/linux/common/statfs.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'libc/sysdeps') 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 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) -- cgit v1.2.3