X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Funistd%2Flseek.c;h=f5b66682abc46b76d97b70eb8b9ae0a790be315b;hb=246f1c811448f37a44b41cd8df8d0ef9736d95f4;hp=0a5ed392bc03c231208933ff3c2376bcfcb5f3b3;hpb=c2cd25bff89c3581780e7eb267262cb8c4da0d38;p=musl diff --git a/src/unistd/lseek.c b/src/unistd/lseek.c index 0a5ed392..f5b66682 100644 --- a/src/unistd/lseek.c +++ b/src/unistd/lseek.c @@ -1,8 +1,7 @@ #include #include "syscall.h" -#include "libc.h" -off_t lseek(int fd, off_t offset, int whence) +off_t __lseek(int fd, off_t offset, int whence) { #ifdef SYS__llseek off_t result; @@ -12,4 +11,4 @@ off_t lseek(int fd, off_t offset, int whence) #endif } -LFS64(lseek); +weak_alias(__lseek, lseek);