summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-16 20:38:09 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-16 20:38:09 +0000
commit32bef6f20a44868624c4a3429b3a9130c3694854 (patch)
treefee134a4df418edd9d9d4f44610be5d0475d203f /libc/sysdeps
parent018e1888b885debb9f8cc061db815541cecde511 (diff)
- cleanup {,f}stat{,v}fs{,64} relocs
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/fstatfs.c4
-rw-r--r--libc/sysdeps/linux/common/statfs.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/common/fstatfs.c b/libc/sysdeps/linux/common/fstatfs.c
index af90bbe77..53b53cd61 100644
--- a/libc/sysdeps/linux/common/fstatfs.c
+++ b/libc/sysdeps/linux/common/fstatfs.c
@@ -26,10 +26,8 @@ extern __typeof(fstatfs) __libc_fstatfs;
libc_hidden_proto(__libc_fstatfs)
#define __NR___libc_fstatfs __NR_fstatfs
_syscall2(int, __libc_fstatfs, int, fd, struct statfs *, buf)
-libc_hidden_def(__libc_fstatfs)
#if defined __UCLIBC_LINUX_SPECIFIC__
-libc_hidden_proto(fstatfs)
+libc_hidden_def(__libc_fstatfs)
weak_alias(__libc_fstatfs,fstatfs)
-libc_hidden_weak(fstatfs)
#endif
diff --git a/libc/sysdeps/linux/common/statfs.c b/libc/sysdeps/linux/common/statfs.c
index a1a32c3c1..5f4133ad3 100644
--- a/libc/sysdeps/linux/common/statfs.c
+++ b/libc/sysdeps/linux/common/statfs.c
@@ -16,10 +16,8 @@ extern __typeof(statfs) __libc_statfs;
libc_hidden_proto(__libc_statfs)
#define __NR___libc_statfs __NR_statfs
_syscall2(int, __libc_statfs, const char *, path, struct statfs *, buf)
-libc_hidden_def(__libc_statfs)
#if defined __UCLIBC_LINUX_SPECIFIC__
-libc_hidden_proto(statfs)
+libc_hidden_def(__libc_statfs)
weak_alias(__libc_statfs,statfs)
-libc_hidden_weak(statfs)
#endif