summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-11-11 20:58:19 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-11-11 20:58:19 +0100
commit12f79e597feb33e0321c49f7bc2f2ad2ff904b02 (patch)
treec9af81c873351f3e31c4ecf2801236f3607a274c /libc/sysdeps/linux
parent657f251c550d7248711ac5611c2be0d9e23aa417 (diff)
parent7badf754cbe7882b2ff0ffea05e027820bd716f6 (diff)
Merge remote-tracking branch 'origin/upstream'
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/statfs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/statfs.c b/libc/sysdeps/linux/common/statfs.c
index aae4738ea..3dfeb0b2c 100644
--- a/libc/sysdeps/linux/common/statfs.c
+++ b/libc/sysdeps/linux/common/statfs.c
@@ -34,6 +34,7 @@ int __libc_statfs(const char *path, struct statfs *buf)
# if defined __UCLIBC_LINUX_SPECIFIC__ || defined __UCLIBC_HAS_THREADS_NATIVE__
/* statfs is used by NPTL, so it must exported in case */
weak_alias(__libc_statfs, statfs)
+libc_hidden_def(statfs)
# endif
/* For systems which have both, prefer the old one */
@@ -45,7 +46,7 @@ _syscall2(int, __libc_statfs, const char *, path, struct statfs *, buf)
# if defined __UCLIBC_LINUX_SPECIFIC__ || defined __UCLIBC_HAS_THREADS_NATIVE__
/* statfs is used by NPTL, so it must exported in case */
weak_alias(__libc_statfs, statfs)
+libc_hidden_def(statfs)
# endif
#endif
-libc_hidden_def(statfs)