summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-16 00:44:17 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-06-16 00:44:57 +0200
commit298a8b59d43cf9a75c44e9b2836e07282a6d34ed (patch)
treed2c0da58786e6417209c2f1f5ed963314999f4c2 /include
parentb12c1e7991cbde3d6fc70abfdf72abecce8b318c (diff)
downloadglibc-298a8b59d43cf9a75c44e9b2836e07282a6d34ed.tar.gz
hurd: avoid PLT ref between sendfile and sendfile64
* include/sys/sendfile.h (__sendfile64): Declare hidden prototype. * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead of sendfile. * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64. (sendfile64): New strong alias.
Diffstat (limited to 'include')
-rw-r--r--include/sys/sendfile.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sys/sendfile.h b/include/sys/sendfile.h
index abe09769cc..b88cca27b8 100644
--- a/include/sys/sendfile.h
+++ b/include/sys/sendfile.h
@@ -1 +1,7 @@
#include <io/sys/sendfile.h>
+
+#ifndef _ISOMAC
+
+extern __typeof (sendfile64) __sendfile64 attribute_hidden;
+
+#endif