remove LFS64 symbol aliases; replace with dynamic linker remapping
[musl] / src / unistd / pwrite.c
index 224eacd..869b69f 100644 (file)
@@ -1,10 +1,7 @@
 #include <unistd.h>
 #include "syscall.h"
-#include "libc.h"
 
 ssize_t pwrite(int fd, const void *buf, size_t size, off_t ofs)
 {
-       return syscall_cp(SYS_pwrite, fd, buf, size, __SYSCALL_LL(ofs));
+       return syscall_cp(SYS_pwrite, fd, buf, size, __SYSCALL_LL_PRW(ofs));
 }
-
-LFS64(pwrite);