about summary refs log tree commit diff
path: root/io/lseek.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/lseek.c')
-rw-r--r--io/lseek.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/io/lseek.c b/io/lseek.c
index b65c50dae1..63cd75fd54 100644
--- a/io/lseek.c
+++ b/io/lseek.c
@@ -21,7 +21,7 @@
 
 /* Seek to OFFSET on FD, starting from WHENCE.  */
 off_t
-__lseek (fd, offset, whence)
+__libc_lseek (fd, offset, whence)
      int fd;
      off_t offset;
      int whence;
@@ -45,7 +45,8 @@ __lseek (fd, offset, whence)
   __set_errno (ENOSYS);
   return -1;
 }
+weak_alias (__libc_lseek, __lseek)
+weak_alias (__libc_lseek, lseek)
 stub_warning (lseek)
-libc_hidden_def (__lseek)
 
-weak_alias (__lseek, lseek)
+libc_hidden_def (__lseek)