summaryrefslogtreecommitdiffstats
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.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/libc/sysdeps/linux/common/statfs.c b/libc/sysdeps/linux/common/statfs.c
index f8aa9d3ba..5da94d6f2 100644
--- a/libc/sysdeps/linux/common/statfs.c
+++ b/libc/sysdeps/linux/common/statfs.c
@@ -2,9 +2,9 @@
/*
* statfs() for uClibc
*
- * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
*
- * GNU Library General Public License (LGPL) version 2 or later.
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
#include "syscalls.h"
@@ -12,12 +12,6 @@
#include <sys/param.h>
#include <sys/vfs.h>
-#define __NR___syscall_statfs __NR_statfs
-static inline _syscall2(int, __syscall_statfs,
- const char *, path, struct statfs *, buf);
-
-int attribute_hidden __statfs(const char *path, struct statfs * buf)
-{
- return __syscall_statfs(path, buf);
-}
-strong_alias(__statfs,statfs)
+libc_hidden_proto(statfs)
+_syscall2(int, statfs, const char *, path, struct statfs *, buf);
+libc_hidden_def(statfs)