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 --- testsuites/psxtests/psxconfig01/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testsuites/psxtests/psxconfig01') diff --git a/testsuites/psxtests/psxconfig01/init.c b/testsuites/psxtests/psxconfig01/init.c index 0a3de1b919..b4c555e836 100644 --- a/testsuites/psxtests/psxconfig01/init.c +++ b/testsuites/psxtests/psxconfig01/init.c @@ -218,18 +218,18 @@ static char *get_posix_name(char a, char b, char c, int i) } #if !defined(RTEMS_SMP) -static void task_var_dtor(void *var __attribute__((unused))) +static void task_var_dtor(void *var RTEMS_UNUSED) { /* Do nothing */ } #endif -static void *posix_thread(void *arg __attribute__((unused))) +static void *posix_thread(void *arg RTEMS_UNUSED) { rtems_test_assert(0); } -static void posix_key_dtor(void *key __attribute__((unused))) +static void posix_key_dtor(void *key RTEMS_UNUSED) { /* Do nothing */ } -- cgit v1.2.3