diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-25 02:17:44 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2006-02-25 02:17:44 +0000 |
commit | 2c9f6cd6e7ddf6b0e680b6bd0b21b53f345ef7c7 (patch) | |
tree | bbf58be7f107261463fcacca485053c13c2c95c0 /libc/sysdeps/linux | |
parent | df8131dc8f1ba3abd1a261a6ac7734517bb2c381 (diff) |
Move lseek64 into LFS guarded place
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/common/pread_write.c | 3 | ||||
-rw-r--r-- | libc/sysdeps/linux/powerpc/pread_write.c | 3 |
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) { |