summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/fstatfs.c4
-rw-r--r--libc/sysdeps/linux/common/statfs.c5
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