summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/mprotect.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-01-02 10:04:24 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-01-02 10:04:24 +0000
commit92f4671850333cdda195c7c4ad51746c0fa0c3a5 (patch)
tree8b364ed60bbe3fb6ba2e6e0ae8c725a7832fa128 /cpukit/posix/src/mprotect.c
parent2009-01-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-92f4671850333cdda195c7c4ad51746c0fa0c3a5.tar.bz2
Add __attribute__((unused)) to unused function args.
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;
}