Add __attribute__((unused)) to unused function args.

This commit is contained in:
Ralf Corsepius
2009-01-02 13:04:13 +00:00
parent d050db44e5
commit 031deada15
38 changed files with 147 additions and 143 deletions

View File

@@ -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) {