From f97536dcd310a1a15426dcd411d55367019879fc Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 16 Oct 2015 08:21:48 +0200 Subject: basdefs.h: Add and use RTEMS_UNUSED --- cpukit/posix/src/munmap.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'cpukit/posix/src/munmap.c') diff --git a/cpukit/posix/src/munmap.c b/cpukit/posix/src/munmap.c index 2798326524..2496c27ab3 100644 --- a/cpukit/posix/src/munmap.c +++ b/cpukit/posix/src/munmap.c @@ -18,9 +18,11 @@ #include int munmap( - void *addr __attribute__((unused)), - size_t length __attribute__((unused)) + void *addr, + size_t length ) { + (void) addr; + (void) length; return -1; } -- cgit v1.2.3