summaryrefslogtreecommitdiff
path: root/src/unistd/lseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/lseek.c')
-rw-r--r--src/unistd/lseek.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/unistd/lseek.c b/src/unistd/lseek.c
index bf8cd852..b4984f3e 100644
--- a/src/unistd/lseek.c
+++ b/src/unistd/lseek.c
@@ -1,7 +1,7 @@
#include <unistd.h>
#include "syscall.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;
@@ -11,4 +11,5 @@ off_t lseek(int fd, off_t offset, int whence)
#endif
}
-weak_alias(lseek, lseek64);
+weak_alias(__lseek, lseek);
+weak_alias(__lseek, lseek64);