From d4c18ff6746eba55161fc8bccaea49c5dd51f41b Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 13 Dec 2005 21:23:53 +0000 Subject: Hidden lseek[64], disabled llseek and _llseek for now, not in any headers --- libc/sysdeps/linux/common/lseek.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/common/lseek.c') diff --git a/libc/sysdeps/linux/common/lseek.c b/libc/sysdeps/linux/common/lseek.c index 03288c706..ebd07512b 100644 --- a/libc/sysdeps/linux/common/lseek.c +++ b/libc/sysdeps/linux/common/lseek.c @@ -10,6 +10,7 @@ #include "syscalls.h" #include -#define __NR___libc_lseek __NR_lseek -_syscall3(__off_t, __libc_lseek, int, fildes, __off_t, offset, int, whence); -weak_alias(__libc_lseek, lseek); +#define __NR___lseek __NR_lseek +attribute_hidden _syscall3(__off_t, __lseek, int, fildes, __off_t, offset, int, whence); +strong_alias(__lseek,lseek) +weak_alias(__lseek,__libc_lseek) -- cgit v1.2.3