glibc/include/sys/sendfile.h
Samuel Thibault 298a8b59d4 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.
2018-06-16 00:44:57 +02:00

8 lines
115 B
C

#include <io/sys/sendfile.h>
#ifndef _ISOMAC
extern __typeof (sendfile64) __sendfile64 attribute_hidden;
#endif