aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/pwrite64.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/pwrite64.c')
-rw-r--r--sysdeps/generic/pwrite64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/pwrite64.c b/sysdeps/generic/pwrite64.c
index df229f8..d84b635 100644
--- a/sysdeps/generic/pwrite64.c
+++ b/sysdeps/generic/pwrite64.c
@@ -22,7 +22,7 @@
/* Write NBYTES of BUF to FD at given position OFFSET without changing
the file position. Return the number written, or -1. */
ssize_t
-pwrite64 (int fd, const void *buf, size_t nbytes, off64_t offset)
+__pwrite64 (int fd, const void *buf, size_t nbytes, off64_t offset)
{
if (nbytes == 0)
return 0;
@@ -40,5 +40,6 @@ pwrite64 (int fd, const void *buf, size_t nbytes, off64_t offset)
__set_errno (ENOSYS);
return -1;
}
+weak_alias (__pwrite64, pwrite64)
stub_warning (pwrite64)
#include <stub-tag.h>