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.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/cpukit/posix/src/mprotect.c b/cpukit/posix/src/mprotect.c
index 94bd316ffb..7158383f95 100644
--- a/cpukit/posix/src/mprotect.c
+++ b/cpukit/posix/src/mprotect.c
@@ -31,9 +31,13 @@
#include <sys/mman.h>
int mprotect(
- void *addr __attribute__((unused)),
- size_t len __attribute__((unused)),
- int prot __attribute__((unused)) )
+ void *addr,
+ size_t len,
+ int prot
+)
{
+ (void) addr;
+ (void) len;
+ (void) prot;
return 0;
}