summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/cacheflush.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sh/cacheflush.c')
-rw-r--r--libc/sysdeps/linux/sh/cacheflush.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/sh/cacheflush.c b/libc/sysdeps/linux/sh/cacheflush.c
index 58229186d..619b96b5a 100644
--- a/libc/sysdeps/linux/sh/cacheflush.c
+++ b/libc/sysdeps/linux/sh/cacheflush.c
@@ -6,10 +6,9 @@
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
-#include <errno.h>
-#include <unistd.h>
#include <sys/syscall.h>
#ifdef __NR_cacheflush
-_syscall3(int, cacheflush, char *, addr, int, nbytes, int, op)
+int cacheflush(void *addr, const int nbytes, int op);
+_syscall3(int, cacheflush, void *, addr, const int, nbytes, const int, op)
#endif