summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/cmds.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-01-02 13:04:13 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-01-02 13:04:13 +0000
commit031deada15098e68ae1912f1c6963c433153b9e3 (patch)
tree80ac645d4f4410b2002241cd6d2c85a8283702b2 /cpukit/libmisc/shell/cmds.c
parent2009-01-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-031deada15098e68ae1912f1c6963c433153b9e3.tar.bz2
Add __attribute__((unused)) to unused function args.
Diffstat (limited to 'cpukit/libmisc/shell/cmds.c')
-rw-r--r--cpukit/libmisc/shell/cmds.c2
1 files changed, 1 insertions, 1 deletions
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) {