summaryrefslogtreecommitdiff
path: root/misc/mprotect.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mprotect.c')
-rw-r--r--misc/mprotect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/mprotect.c b/misc/mprotect.c
index 34251b0694..4a08f2f67b 100644
--- a/misc/mprotect.c
+++ b/misc/mprotect.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994-2016 Free Software Foundation, Inc.
+/* Copyright (C) 1994-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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;