summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/mprotect.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-10-16 08:21:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-10-26 09:13:19 +0100
commitf97536dcd310a1a15426dcd411d55367019879fc (patch)
treed37a1e12bac98a4df4a2dd70d5de3ee99f23d821 /cpukit/posix/src/mprotect.c
parentbasdefs.h: Add and use RTEMS_DEPRECATED (diff)
downloadrtems-f97536dcd310a1a15426dcd411d55367019879fc.tar.bz2
basdefs.h: Add and use RTEMS_UNUSED
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;
}