summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/pread_write.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-02-25 02:17:44 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-02-25 02:17:44 +0000
commit2c9f6cd6e7ddf6b0e680b6bd0b21b53f345ef7c7 (patch)
treebbf58be7f107261463fcacca485053c13c2c95c0 /libc/sysdeps/linux/common/pread_write.c
parentdf8131dc8f1ba3abd1a261a6ac7734517bb2c381 (diff)
Move lseek64 into LFS guarded place
Diffstat (limited to 'libc/sysdeps/linux/common/pread_write.c')
-rw-r--r--libc/sysdeps/linux/common/pread_write.c3
1 files changed, 2 insertions, 1 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)
{