From b02e50be3e853e6a67c9ed986b994fbeebb0f0a5 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 16 Jan 2001 10:08:27 +0000 Subject: Facelist/cleanup for several syscalls. Added poll. --- libc/sysdeps/linux/common/tell.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'libc/sysdeps/linux/common/tell.c') diff --git a/libc/sysdeps/linux/common/tell.c b/libc/sysdeps/linux/common/tell.c index dcae83206..e02001d0d 100644 --- a/libc/sysdeps/linux/common/tell.c +++ b/libc/sysdeps/linux/common/tell.c @@ -1,16 +1,10 @@ -#define lseek __normal_lseek #include #include #include -#undef lseek - -static inline -_syscall3(off_t,lseek,int,fildes,off_t,offset,int,origin) off_t tell(int); -off_t -tell (int fildes) +off_t tell (int fildes) { return lseek (fildes, 0, SEEK_CUR); } -- cgit v1.2.3