diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-02 10:04:24 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-02 10:04:24 +0000 |
commit | 92f4671850333cdda195c7c4ad51746c0fa0c3a5 (patch) | |
tree | 8b364ed60bbe3fb6ba2e6e0ae8c725a7832fa128 /cpukit/posix/src/mprotect.c | |
parent | 1604cc8b77176c9b6bda067605656f925ad70fa5 (diff) |
Add __attribute__((unused)) to unused function args.
Diffstat (limited to 'cpukit/posix/src/mprotect.c')
-rw-r--r-- | cpukit/posix/src/mprotect.c | 5 |
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; } |