diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-27 18:21:33 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-27 18:21:33 +0000 |
commit | 28c8634afdc1fa236679b49ab0d5a019379c6db1 (patch) | |
tree | fda9d6e124a32799b07247f8d38d0cc8f963cd4e /libc/sysdeps/linux/common/lseek.c | |
parent | eb38b2d34c32ed3089e2bf8935219a57f84ce7b3 (diff) | |
download | uClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.bz2 uClibc-alpine-28c8634afdc1fa236679b49ab0d5a019379c6db1.tar.xz |
Synch with trunk @ 24165
Step 17: libc_hidden_proto removal (almost all).
and other minor changes (inline keyword, extra character)
Diffstat (limited to 'libc/sysdeps/linux/common/lseek.c')
-rw-r--r-- | libc/sysdeps/linux/common/lseek.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/lseek.c b/libc/sysdeps/linux/common/lseek.c index 5ba5ad9c8..ee49c9f25 100644 --- a/libc/sysdeps/linux/common/lseek.c +++ b/libc/sysdeps/linux/common/lseek.c @@ -15,10 +15,11 @@ libc_hidden_proto(__libc_lseek) #ifdef __NR_lseek #define __NR___libc_lseek __NR_lseek -_syscall3(__off_t, __libc_lseek, int, fildes, __off_t, offset, int, whence); +_syscall3(__off_t, __libc_lseek, int, fildes, __off_t, offset, int, whence) #else extern __typeof(lseek64) __libc_lseek64; libc_hidden_proto(__libc_lseek64) + __off_t __libc_lseek(int fildes, __off_t offset, int whence) { return __libc_lseek64(fildes, offset, whence); @@ -26,6 +27,6 @@ __off_t __libc_lseek(int fildes, __off_t offset, int whence) #endif libc_hidden_def(__libc_lseek) -libc_hidden_proto(lseek) +/* libc_hidden_proto(lseek) */ weak_alias(__libc_lseek,lseek) libc_hidden_weak(lseek) |