summaryrefslogtreecommitdiff
path: root/misc/mprotect.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mprotect.c')
-rw-r--r--misc/mprotect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/mprotect.c b/misc/mprotect.c
index 271106426c..91611239c2 100644
--- a/misc/mprotect.c
+++ b/misc/mprotect.c
@@ -24,7 +24,7 @@
(and sets errno). */
int
-__mprotect (__ptr_t addr, size_t len, int prot)
+__mprotect (void *addr, size_t len, int prot)
{
__set_errno (ENOSYS);
return -1;