From: Nicholas J. Kain Date: Tue, 15 Feb 2011 13:21:47 +0000 (-0500) Subject: Remove __syscall_lseek from x86_64 syscall.h. X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=ebc4a17957d81803ca649a81083aabbd58260460;hp=bb89bdd00e494baa11ceb67bf40cc28b0104b642 Remove __syscall_lseek from x86_64 syscall.h. --- 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