summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorNicholas J. Kain <njkain@gmail.com>2011-02-15 08:21:47 -0500
committerNicholas J. Kain <njkain@gmail.com>2011-02-15 08:21:47 -0500
commitebc4a17957d81803ca649a81083aabbd58260460 (patch)
treee3f0475a1720cab26727eae589e6b7dc81e00214 /arch
parentbb89bdd00e494baa11ceb67bf40cc28b0104b642 (diff)
downloadmusl-ebc4a17957d81803ca649a81083aabbd58260460.tar.gz
musl-ebc4a17957d81803ca649a81083aabbd58260460.tar.bz2
musl-ebc4a17957d81803ca649a81083aabbd58260460.tar.xz
musl-ebc4a17957d81803ca649a81083aabbd58260460.zip
Remove __syscall_lseek from x86_64 syscall.h.
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64/syscall.h8
1 files changed, 0 insertions, 8 deletions
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 <bits/alltypes.h>
-
-static inline off_t __syscall_lseek(int fd, off_t offset, int whence)
-{
- return syscall3(__NR_lseek, fd, offset, whence);
-}
-
#endif