X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Flinux%2Fsendfile.c;h=9afe6dd61c203122e671ee0e5743d4b022834485;hb=122002f0ddf267977282f05066a0794e31661501;hp=818b19d31d4018257e99cfbb9a178cf3f551834f;hpb=aa398f56fa398f2202b04e82c67f822f3233786f;p=musl diff --git a/src/linux/sendfile.c b/src/linux/sendfile.c index 818b19d3..9afe6dd6 100644 --- a/src/linux/sendfile.c +++ b/src/linux/sendfile.c @@ -1,10 +1,9 @@ -#include +#include #include "syscall.h" -#include "libc.h" ssize_t sendfile(int out_fd, int in_fd, off_t *ofs, size_t count) { return syscall(SYS_sendfile, out_fd, in_fd, ofs, count); } -LFS64(sendfile); +weak_alias(sendfile, sendfile64);