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/mmap64.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/mmap64.c')
-rw-r--r-- | libc/sysdeps/linux/common/mmap64.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/mmap64.c b/libc/sysdeps/linux/common/mmap64.c index a1aa19fb8..2b10e5710 100644 --- a/libc/sysdeps/linux/common/mmap64.c +++ b/libc/sysdeps/linux/common/mmap64.c @@ -15,7 +15,7 @@ #include <sys/syscall.h> #include <bits/uClibc_page.h> -libc_hidden_proto(mmap) +/* libc_hidden_proto(mmap) */ # if !defined __NR_mmap2 || !defined _syscall6 @@ -41,8 +41,9 @@ __ptr_t mmap64(__ptr_t addr, size_t len, int prot, int flags, int fd, __off64_t # else # define __NR___syscall_mmap2 __NR_mmap2 -static __inline__ _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr, size_t, len, - int, prot, int, flags, int, fd, off_t, offset); +static __inline__ _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr, + size_t, len, int, prot, int, flags, int, fd, + off_t, offset) /* Some architectures always use 12 as page shift for mmap2() eventhough the * real PAGE_SHIFT != 12. Other architectures use the same value as |