summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/llseek.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-02-05 14:53:22 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-02-05 14:53:22 +0000
commit9d694a44b5f4eed4ed8e192f203c1cc4abc7554d (patch)
tree6a4f7e300b45c9ee46b841477f877d24ccd9af5b /libc/sysdeps/linux/common/llseek.c
parentcbee182dd719e8234275d02bf06a631847078f49 (diff)
downloaduClibc-alpine-9d694a44b5f4eed4ed8e192f203c1cc4abc7554d.tar.bz2
uClibc-alpine-9d694a44b5f4eed4ed8e192f203c1cc4abc7554d.tar.xz
Patch from Alan Hourihane <alanh@fairlite.demon.co.uk> for building alpha.
Diffstat (limited to 'libc/sysdeps/linux/common/llseek.c')
-rw-r--r--libc/sysdeps/linux/common/llseek.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/common/llseek.c b/libc/sysdeps/linux/common/llseek.c
index 8683157b9..610822bd0 100644
--- a/libc/sysdeps/linux/common/llseek.c
+++ b/libc/sysdeps/linux/common/llseek.c
@@ -49,15 +49,13 @@ loff_t __libc_lseek64(int fd, loff_t offset, int whence)
return(loff_t)(INLINE_SYSCALL (_llseek, 5, fd, (off_t) (offset >> 32),
(off_t) (offset & 0xffffffff), &result, whence) ?: result);
}
-weak_alias(__libc_lseek64, llseek);
-weak_alias(__libc_lseek64, lseek64);
#else
extern __off_t __libc_lseek(int fildes, off_t offset, int whence);
loff_t __libc_lseek64(int fd, loff_t offset, int whence)
{
return(loff_t)(__libc_lseek(fd, (off_t) (offset & 0xffffffff), whence));
}
-weak_alias(__libc_lseek, llseek)
-weak_alias(__libc_lseek, lseek64)
#endif
+weak_alias(__libc_lseek64, llseek);
+weak_alias(__libc_lseek64, lseek64);