aboutsummaryrefslogtreecommitdiff
path: root/src/unistd/pwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/pwrite.c')
-rw-r--r--src/unistd/pwrite.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/unistd/pwrite.c b/src/unistd/pwrite.c
index 4bf3d7d..ca37657 100644
--- a/src/unistd/pwrite.c
+++ b/src/unistd/pwrite.c
@@ -1,10 +1,9 @@
#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_PRW(ofs));
}
-LFS64(pwrite);
+weak_alias(pwrite, pwrite64);