diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-27 14:38:34 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-27 14:38:34 +0000 |
commit | c836f1ad544d4b57dd1b93c480b7e625f24fb147 (patch) | |
tree | 97669f5a5ddf6d10280b4d58dc759459c9613a54 /libc/sysdeps/linux/arm/mmap.c | |
parent | 0dbf6abb93407b6aa83f8a3b397cafbd3095cfdc (diff) | |
download | uClibc-alpine-c836f1ad544d4b57dd1b93c480b7e625f24fb147.tar.bz2 uClibc-alpine-c836f1ad544d4b57dd1b93c480b7e625f24fb147.tar.xz |
Synch with trunk @ 24160
Step 14: miscellaneous merge for arch specific
files in libc/sysdeps. Comments, cleanup, formatting,
hidden_proto removal and others.
Diffstat (limited to 'libc/sysdeps/linux/arm/mmap.c')
-rw-r--r-- | libc/sysdeps/linux/arm/mmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/arm/mmap.c b/libc/sysdeps/linux/arm/mmap.c index 47a29f4ae..0a74638ca 100644 --- a/libc/sysdeps/linux/arm/mmap.c +++ b/libc/sysdeps/linux/arm/mmap.c @@ -17,7 +17,7 @@ libc_hidden_proto (mmap) #if defined (__UCLIBC_MMAP_HAS_6_ARGS__) && defined (__NR_mmap) #define __NR__mmap __NR_mmap static __inline__ _syscall6 (__ptr_t, _mmap, __ptr_t, addr, size_t, len, - int, prot, int, flags, int, fd, __off_t, offset); + int, prot, int, flags, int, fd, __off_t, offset) __ptr_t mmap(__ptr_t addr, size_t len, int prot, int flags, int fd, __off_t offset) { @@ -53,7 +53,7 @@ __ptr_t mmap(__ptr_t addr, size_t len, int prot, } #elif defined (__NR_mmap) # define __NR__mmap __NR_mmap -static __inline__ _syscall1(__ptr_t, _mmap, unsigned long *, buffer); +static __inline__ _syscall1(__ptr_t, _mmap, unsigned long *, buffer) __ptr_t mmap(__ptr_t addr, size_t len, int prot, int flags, int fd, __off_t offset) { |