about summary refs log tree commit diff
path: root/sysdeps/posix/pread64.c
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 /sysdeps/posix/pread64.c
parentc207f7ce734b2f77139e6043e9cf6cff6dbfcede (diff)
downloadglibc-1c6d89e9a40302430d5986a09c7cf7594b93143c.tar.gz
glibc-1c6d89e9a40302430d5986a09c7cf7594b93143c.tar.xz
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 'sysdeps/posix/pread64.c')
-rw-r--r--sysdeps/posix/pread64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/posix/pread64.c b/sysdeps/posix/pread64.c
index f28ef31329..68ef9cbbcc 100644
--- a/sysdeps/posix/pread64.c
+++ b/sysdeps/posix/pread64.c
@@ -58,5 +58,6 @@ __libc_pread64 (int fd, void *buf, size_t nbyte, off64_t offset)
 
 #ifndef __libc_pread64
 weak_alias (__libc_pread64, __pread64)
+libc_hidden_weak (__pread64)
 weak_alias (__libc_pread64, pread64)
 #endif