X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=arch%2Fx86_64%2Fsyscall.h;h=0b04b29e267de0fb62bda4e95bec3ae2d58e2c8f;hb=062354f2e13148c6524f332f0a5aed877a3c9d61;hp=274fcd72c37d8d48c7935c8bf896d1d8c3ad6b2a;hpb=1e12632591ab98a6ea3af8680716c28282552981;p=musl diff --git a/arch/x86_64/syscall.h b/arch/x86_64/syscall.h index 274fcd72..0b04b29e 100644 --- a/arch/x86_64/syscall.h +++ b/arch/x86_64/syscall.h @@ -427,12 +427,4 @@ static inline long syscall6(long n, long a1, long a2, long a3, long a4, #define __syscall_ioctl(fd,ioc,arg) syscall3(__NR_ioctl, (fd), (ioc), (long)(arg)) #define __syscall_exit(code) syscall1(__NR_exit, code) -#define __NEED_off_t -#include - -static inline off_t __syscall_lseek(int fd, off_t offset, int whence) -{ - return syscall3(__NR_lseek, fd, offset, whence); -} - #endif