diff options
Diffstat (limited to 'libc/sysdeps/linux/mips')
-rw-r--r-- | libc/sysdeps/linux/mips/cacheflush.c | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/mips/pread_write.c | 8 | ||||
-rw-r--r-- | libc/sysdeps/linux/mips/sysmips.c | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/mips/cacheflush.c b/libc/sysdeps/linux/mips/cacheflush.c index f99c58171..235414dbd 100644 --- a/libc/sysdeps/linux/mips/cacheflush.c +++ b/libc/sysdeps/linux/mips/cacheflush.c @@ -21,10 +21,10 @@ #include <sys/syscall.h> #ifdef __NR_cacheflush -_syscall3(int, cacheflush, void *, addr, const int, nbytes, const int, op); +_syscall3(int, cacheflush, void *, addr, const int, nbytes, const int, op) strong_alias(cacheflush, _flush_cache) #endif #ifdef __NR_cachectl -_syscall3(int, cachectl, void *, addr, const int, nbytes, const int, op); +_syscall3(int, cachectl, void *, addr, const int, nbytes, const int, op) #endif diff --git a/libc/sysdeps/linux/mips/pread_write.c b/libc/sysdeps/linux/mips/pread_write.c index 0939e17b6..2b1a91337 100644 --- a/libc/sysdeps/linux/mips/pread_write.c +++ b/libc/sysdeps/linux/mips/pread_write.c @@ -40,11 +40,11 @@ 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 */ @@ -84,11 +84,11 @@ 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 */ diff --git a/libc/sysdeps/linux/mips/sysmips.c b/libc/sysdeps/linux/mips/sysmips.c index 020f02dd3..1384782b4 100644 --- a/libc/sysdeps/linux/mips/sysmips.c +++ b/libc/sysdeps/linux/mips/sysmips.c @@ -3,5 +3,5 @@ #include <sys/sysmips.h> #ifdef __NR_sysmips -_syscall4(int, sysmips, const int, cmd, const long, arg1, const int, arg2, const int, arg3); +_syscall4(int, sysmips, const int, cmd, const long, arg1, const int, arg2, const int, arg3) #endif |