remove LFS64 symbol aliases; replace with dynamic linker remapping
[musl] / src / unistd / lseek.c
index 0a5ed39..f5b6668 100644 (file)
@@ -1,8 +1,7 @@
 #include <unistd.h>
 #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);