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/libmisc/shell/cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/libmisc/shell/cmds.c') diff --git a/cpukit/libmisc/shell/cmds.c b/cpukit/libmisc/shell/cmds.c index 6e3e0c1ec2..dbc63639eb 100644 --- a/cpukit/libmisc/shell/cmds.c +++ b/cpukit/libmisc/shell/cmds.c @@ -45,7 +45,7 @@ int rtems_shell_main_monitor(int argc, char **argv) { return 0; } -static bool rtems_shell_register_command(const rtems_monitor_command_entry_t *e, void *arg __attribute__((unused))) +static bool rtems_shell_register_command(const rtems_monitor_command_entry_t *e, void *arg RTEMS_UNUSED) { /* Exclude EXIT (alias quit)*/ if (strcmp("exit", e->command) != 0) { -- cgit v1.2.3