From 031deada15098e68ae1912f1c6963c433153b9e3 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 2 Jan 2009 13:04:13 +0000 Subject: Add __attribute__((unused)) to unused function args. --- 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 2a3a029add..79bc8c5835 100644 --- a/cpukit/libmisc/shell/cmds.c +++ b/cpukit/libmisc/shell/cmds.c @@ -47,7 +47,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) +static bool rtems_shell_register_command(const rtems_monitor_command_entry_t *e, void *arg __attribute__((unused))) { /* Exclude EXIT (alias quit)*/ if (strcmp("exit", e->command) != 0) { -- cgit v1.2.3