diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-11-25 13:56:17 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-11-25 13:56:17 +0000 |
commit | c9209d6f901c82cf0cd10d4ee17402cb7f9234ce (patch) | |
tree | 9551db053f2115deb3046183da4484265bcd2769 /libc/sysdeps/linux | |
parent | 0b5983eaf4562a3e4b4a4136004a8349828eb6d9 (diff) |
- hide __libc_{f,}statfs. Thanks to Peter S. Mazinger for mentioning this fact.
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/common/fstatfs.c | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/statfs.c | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/common/fstatfs.c b/libc/sysdeps/linux/common/fstatfs.c index 53b53cd61..fa0024ad8 100644 --- a/libc/sysdeps/linux/common/fstatfs.c +++ b/libc/sysdeps/linux/common/fstatfs.c @@ -22,12 +22,10 @@ extern int __REDIRECT_NTH (fstatfs, (int __fildes, struct statfs *__buf), # endif #endif -extern __typeof(fstatfs) __libc_fstatfs; -libc_hidden_proto(__libc_fstatfs) +extern __typeof(fstatfs) __libc_fstatfs attribute_hidden; #define __NR___libc_fstatfs __NR_fstatfs _syscall2(int, __libc_fstatfs, int, fd, struct statfs *, buf) #if defined __UCLIBC_LINUX_SPECIFIC__ -libc_hidden_def(__libc_fstatfs) weak_alias(__libc_fstatfs,fstatfs) #endif diff --git a/libc/sysdeps/linux/common/statfs.c b/libc/sysdeps/linux/common/statfs.c index e892fb376..2f8548d0d 100644 --- a/libc/sysdeps/linux/common/statfs.c +++ b/libc/sysdeps/linux/common/statfs.c @@ -12,13 +12,10 @@ #include <sys/param.h> #include <sys/vfs.h> -extern __typeof(statfs) __libc_statfs; -libc_hidden_proto(__libc_statfs) - +extern __typeof(statfs) __libc_statfs attribute_hidden; #define __NR___libc_statfs __NR_statfs _syscall2(int, __libc_statfs, const char *, path, struct statfs *, buf) #if defined __UCLIBC_LINUX_SPECIFIC__ -libc_hidden_def(__libc_statfs) weak_alias(__libc_statfs,statfs) #endif |