From a1d98e054e1d2a3481f897fb40f98972a57c74d9 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 23 Jan 2006 23:00:19 +0000 Subject: cleanup and use the style of other *64 funcs --- libc/sysdeps/linux/common/sendfile.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libc/sysdeps/linux/common/sendfile.c') diff --git a/libc/sysdeps/linux/common/sendfile.c b/libc/sysdeps/linux/common/sendfile.c index ba3734f09..fe0629ca3 100644 --- a/libc/sysdeps/linux/common/sendfile.c +++ b/libc/sysdeps/linux/common/sendfile.c @@ -10,5 +10,13 @@ #include "syscalls.h" #include #include + _syscall4(ssize_t, sendfile, int, out_fd, int, in_fd, __off_t *, offset, size_t, count); + +#if ! defined __NR_sendfile64 && defined __UCLIBC_HAS_LFS__ +extern __typeof(sendfile) sendfile64; +libc_hidden_proto(sendfile64) +strong_alias(sendfile,sendfile64) +libc_hidden_def(sendfile64) +#endif -- cgit v1.2.3