diff options
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r-- | libc/sysdeps/linux/common/fstatfs.c | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/statfs.c | 4 |
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 |