summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/mprotect.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/mprotect.c')
-rw-r--r--cpukit/posix/src/mprotect.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/posix/src/mprotect.c b/cpukit/posix/src/mprotect.c
index 8b5825f1ea..265b8a80d0 100644
--- a/cpukit/posix/src/mprotect.c
+++ b/cpukit/posix/src/mprotect.c
@@ -27,7 +27,10 @@
* way to call this for RTEMS anymore but it doesn't hurt to leave it.
*/
-int mprotect(const void *addr, size_t len, int prot)
+int mprotect(
+ const void *addr __attribute__((unused)),
+ size_t len __attribute__((unused)),
+ int prot __attribute__((unused)) )
{
return 0;
}