svn commit: trunk/uClibc/libc/sysdeps/linux/common
vapier at uclibc.org
vapier at uclibc.org
Fri Feb 10 02:26:42 UTC 2006
Author: vapier
Date: 2006-02-09 18:26:40 -0800 (Thu, 09 Feb 2006)
New Revision: 13894
Log:
dont bother with a pass through call
Modified:
trunk/uClibc/libc/sysdeps/linux/common/statfs.c
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/statfs.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/statfs.c 2006-02-10 02:02:28 UTC (rev 13893)
+++ trunk/uClibc/libc/sysdeps/linux/common/statfs.c 2006-02-10 02:26:40 UTC (rev 13894)
@@ -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)
More information about the uClibc-cvs
mailing list