diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-14 19:22:44 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-01-14 19:22:44 +0000 |
commit | 9138bf01b3b21ce23cfdf15fce3f30bb9a1fbc61 (patch) | |
tree | fb0ac2208e1a080dfae3f2ca5f1f90f568bf4165 /libc/sysdeps/linux/common/lseek.c | |
parent | 6e3c1938ff129fb5385a963ec600111aa6228bdc (diff) | |
download | uClibc-alpine-9138bf01b3b21ce23cfdf15fce3f30bb9a1fbc61.tar.bz2 uClibc-alpine-9138bf01b3b21ce23cfdf15fce3f30bb9a1fbc61.tar.xz |
Merge from trunk.
Diffstat (limited to 'libc/sysdeps/linux/common/lseek.c')
-rw-r--r-- | libc/sysdeps/linux/common/lseek.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/lseek.c b/libc/sysdeps/linux/common/lseek.c index 03288c706..4eb51d322 100644 --- a/libc/sysdeps/linux/common/lseek.c +++ b/libc/sysdeps/linux/common/lseek.c @@ -10,6 +10,9 @@ #include "syscalls.h" #include <unistd.h> -#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 +#undef __lseek +#undef lseek +attribute_hidden _syscall3(__off_t, __lseek, int, fildes, __off_t, offset, int, whence); +strong_alias(__lseek,lseek) +weak_alias(__lseek,__libc_lseek) |