summary refs log tree commit diff
path: root/io/access.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-12-01 20:52:39 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-12-01 21:05:56 +0000
commitdd67928700bc9b5954c93b29a6e0b0c4b279d454 (patch)
tree7557514a0d014468c56c9f0d000f9c0387337dee /io/access.c
parentdb25266c9202a1235ce2e2f8a4f84cfb86254196 (diff)
downloadglibc-dd67928700bc9b5954c93b29a6e0b0c4b279d454.tar.gz
glibc-dd67928700bc9b5954c93b29a6e0b0c4b279d454.tar.xz
glibc-dd67928700bc9b5954c93b29a6e0b0c4b279d454.zip
hurd: Fix ld.so __access override from libc
ld.so symbols to be overriden by libc need to be extern to really get
overriden. __access happens to have never been exposed, putting it to
GLIBC_PRIVATE.
Diffstat (limited to 'io/access.c')
-rw-r--r--io/access.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/io/access.c b/io/access.c
index dc9fb9d5b2..9106a9f842 100644
--- a/io/access.c
+++ b/io/access.c
@@ -39,6 +39,7 @@ __access (const char *file, int type)
   __set_errno (ENOSYS);
   return -1;
 }
+libc_hidden_def (__access)
 stub_warning (access)
 
 weak_alias (__access, access)