From 92f4671850333cdda195c7c4ad51746c0fa0c3a5 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 2 Jan 2009 10:04:24 +0000 Subject: Add __attribute__((unused)) to unused function args. --- cpukit/posix/src/mprotect.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpukit/posix/src/mprotect.c') 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; } -- cgit v1.2.3