aboutsummaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-17 21:57:39 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2017-09-17 21:57:39 +0200
commit1c6d89e9a40302430d5986a09c7cf7594b93143c (patch)
tree25503bbbf59c767406affd67ccedf4569298a41c /io
parentAdd missing space. (diff)
downloadglibc-1c6d89e9a40302430d5986a09c7cf7594b93143c.tar.gz
glibc-1c6d89e9a40302430d5986a09c7cf7594b93143c.tar.bz2
glibc-1c6d89e9a40302430d5986a09c7cf7594b93143c.zip
Add missing libc_hidden_weak/def calls
* io/read.c (read): Add libc_hidden_weak. * sysdeps/mach/hurd/read.c (read): Likewise. * io/write.c (write): Likewise. * sysdeps/mach/hurd/write.c (write): Likewise. * io/pread64.c (__pread64): Likewise. * sysdeps/mach/hurd/pread64.c (__pread64): Likewise. * posix/pread64.c (__pread64): Add libc_hidden_def.
Diffstat (limited to 'io')
-rw-r--r--io/read.c1
-rw-r--r--io/write.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/io/read.c b/io/read.c
index 2f7b6743f7..7537dd759d 100644
--- a/io/read.c
+++ b/io/read.c
@@ -45,3 +45,4 @@ stub_warning (read)
weak_alias (__libc_read, __read)
libc_hidden_weak (__read)
weak_alias (__libc_read, read)
+libc_hidden_weak (read)
diff --git a/io/write.c b/io/write.c
index cb413c76f9..931f837dfa 100644
--- a/io/write.c
+++ b/io/write.c
@@ -46,3 +46,4 @@ stub_warning (write)
weak_alias (__libc_write, __write)
libc_hidden_weak (__write)
weak_alias (__libc_write, write)
+libc_hidden_weak (write)