summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/llseek.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-12-16 16:28:34 +0000
committerEric Andersen <andersen@codepoet.org>2004-12-16 16:28:34 +0000
commit1c8d7ee9cbe7483d06dab11b1333ea2eb23e60c6 (patch)
tree98b141a5b608e507a16d19f4952ed40c3e64e4bc /libc/sysdeps/linux/common/llseek.c
parentece14c1a67a9af0405f757e94a6c7c9300d99a02 (diff)
On Thu Dec 16, 2004 at 03:49:31PM +0100, Johan Adolfsson wrote:
> What's the correct way of calling llseek/_llseek? > The manpage I have indicates _llseek and thats what the version of > util-linux > I tried use as well so compiling for uClibc fails. > Would the following patch fix it or is it the apps that needs fixing?
Diffstat (limited to 'libc/sysdeps/linux/common/llseek.c')
-rw-r--r--libc/sysdeps/linux/common/llseek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/llseek.c b/libc/sysdeps/linux/common/llseek.c
index 610822bd0..2b77eda26 100644
--- a/libc/sysdeps/linux/common/llseek.c
+++ b/libc/sysdeps/linux/common/llseek.c
@@ -56,6 +56,7 @@ loff_t __libc_lseek64(int fd, loff_t offset, int whence)
return(loff_t)(__libc_lseek(fd, (off_t) (offset & 0xffffffff), whence));
}
#endif
+weak_alias(__libc_lseek64, _llseek);
weak_alias(__libc_lseek64, llseek);
weak_alias(__libc_lseek64, lseek64);