From 2c9f6cd6e7ddf6b0e680b6bd0b21b53f345ef7c7 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sat, 25 Feb 2006 02:17:44 +0000 Subject: Move lseek64 into LFS guarded place --- libc/sysdeps/linux/common/pread_write.c | 3 ++- libc/sysdeps/linux/powerpc/pread_write.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'libc') 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) { -- cgit v1.2.3