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/mips/pread_write.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/mips/pread_write.c')
-rw-r--r-- | libc/sysdeps/linux/mips/pread_write.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/mips/pread_write.c b/libc/sysdeps/linux/mips/pread_write.c index 0939e17b6..b1cce027f 100644 --- a/libc/sysdeps/linux/mips/pread_write.c +++ b/libc/sysdeps/linux/mips/pread_write.c @@ -40,17 +40,17 @@ extern __typeof(pwrite64) __libc_pwrite64; # if _MIPS_SIM == _MIPS_SIM_ABI64 # define __NR___libc_pread __NR_pread -_syscall4(ssize_t, __libc_pread, int, fd, void *, buf, size_t, count, off_t, offset); +_syscall4(ssize_t, __libc_pread, int, fd, void *, buf, size_t, count, off_t, offset) weak_alias (__libc_pread, pread) # ifdef __UCLIBC_HAS_LFS__ # define __NR___libc_pread64 __NR_pread -_syscall4(ssize_t, __libc_pread64, int, fd, void *, buf, size_t, count, off64_t, offset); +_syscall4(ssize_t, __libc_pread64, int, fd, void *, buf, size_t, count, off64_t, offset) weak_alias (__libc_pread64, pread64) # endif /* __UCLIBC_HAS_LFS__ */ # else /* O32 || N32 */ # define __NR___syscall_pread __NR_pread static __inline__ _syscall6(ssize_t, __syscall_pread, int, fd, void *, buf, - size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo); + size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo) ssize_t __libc_pread(int fd, void *buf, size_t count, off_t offset) { @@ -84,17 +84,17 @@ weak_alias(__libc_pread64,pread64) # if _MIPS_SIM == _MIPS_SIM_ABI64 # define __NR___libc_pwrite __NR_pwrite -_syscall4(ssize_t, __libc_pwrite, int, fd, const void *, buf, size_t, count, off_t, offset); +_syscall4(ssize_t, __libc_pwrite, int, fd, const void *, buf, size_t, count, off_t, offset) weak_alias (__libc_pwrite, pwrite) # ifdef __UCLIBC_HAS_LFS__ # define __NR___libc_pwrite64 __NR_pwrite -_syscall4(ssize_t, __libc_pwrite64, int, fd, const void *, buf, size_t, count, off64_t, offset); +_syscall4(ssize_t, __libc_pwrite64, int, fd, const void *, buf, size_t, count, off64_t, offset) weak_alias (__libc_pwrite64, pwrite64) # endif /* __UCLIBC_HAS_LFS__ */ # else /* O32 || N32 */ # define __NR___syscall_pwrite __NR_pwrite static __inline__ _syscall6(ssize_t, __syscall_pwrite, int, fd, const void *, buf, - size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo); + size_t, count, int, dummy, off_t, offset_hi, off_t, offset_lo) ssize_t __libc_pwrite(int fd, const void *buf, size_t count, off_t offset) { |