summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/common/pread_write.c3
-rw-r--r--libc/sysdeps/linux/powerpc/pread_write.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/pread_write.c b/libc/sysdeps/linux/common/pread_write.c
index 119abe9ea..2509b7ab6 100644
--- a/libc/sysdeps/linux/common/pread_write.c
+++ b/libc/sysdeps/linux/common/pread_write.c
@@ -75,7 +75,6 @@ weak_alias(__libc_pwrite64,pwrite64)
libc_hidden_proto(read)
libc_hidden_proto(write)
libc_hidden_proto(lseek)
-libc_hidden_proto(lseek64)
static ssize_t __fake_pread_write(int fd, void *buf,
size_t count, off_t offset, int do_pwrite)
@@ -115,6 +114,8 @@ static ssize_t __fake_pread_write(int fd, void *buf,
}
# ifdef __UCLIBC_HAS_LFS__
+libc_hidden_proto(lseek64)
+
static ssize_t __fake_pread_write64(int fd, void *buf,
size_t count, off64_t offset, int do_pwrite)
{
diff --git a/libc/sysdeps/linux/powerpc/pread_write.c b/libc/sysdeps/linux/powerpc/pread_write.c
index d32ca58d1..353143907 100644
--- a/libc/sysdeps/linux/powerpc/pread_write.c
+++ b/libc/sysdeps/linux/powerpc/pread_write.c
@@ -70,7 +70,6 @@ weak_alias(__libc_pwrite64,pwrite64)
libc_hidden_proto(read)
libc_hidden_proto(write)
libc_hidden_proto(lseek)
-libc_hidden_proto(lseek64)
static ssize_t __fake_pread_write(int fd, void *buf,
size_t count, off_t offset, int do_pwrite)
@@ -110,6 +109,8 @@ static ssize_t __fake_pread_write(int fd, void *buf,
}
# ifdef __UCLIBC_HAS_LFS__
+libc_hidden_proto(lseek64)
+
static ssize_t __fake_pread_write64(int fd, void *buf,
size_t count, off64_t offset, int do_pwrite)
{