aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix/pwrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/pwrite.c')
-rw-r--r--sysdeps/posix/pwrite.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/posix/pwrite.c b/sysdeps/posix/pwrite.c
index 7c1ed45cca..65806a2e68 100644
--- a/sysdeps/posix/pwrite.c
+++ b/sysdeps/posix/pwrite.c
@@ -23,7 +23,7 @@
#include <unistd.h>
ssize_t
-pwrite (int fd, const void *buf, size_t nbyte, off_t offset)
+__pwrite (int fd, const void *buf, size_t nbyte, off_t offset)
{
/* Since we must not change the file pointer preserve the value so that
we can restore it later. */
@@ -54,3 +54,4 @@ pwrite (int fd, const void *buf, size_t nbyte, off_t offset)
return result;
}
+weak_alias (__pwrite, pwrite)