diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-02 13:04:13 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-01-02 13:04:13 +0000 |
commit | 031deada15098e68ae1912f1c6963c433153b9e3 (patch) | |
tree | 80ac645d4f4410b2002241cd6d2c85a8283702b2 /cpukit/libmisc/monitor/mon-monitor.c | |
parent | 2009-01-02 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-031deada15098e68ae1912f1c6963c433153b9e3.tar.bz2 |
Add __attribute__((unused)) to unused function args.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libmisc/monitor/mon-monitor.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/cpukit/libmisc/monitor/mon-monitor.c b/cpukit/libmisc/monitor/mon-monitor.c index f60c9a33ed..9435fa4137 100644 --- a/cpukit/libmisc/monitor/mon-monitor.c +++ b/cpukit/libmisc/monitor/mon-monitor.c @@ -294,10 +294,10 @@ rtems_monitor_wakeup(void) } void rtems_monitor_debugger_cmd( - int argc, - char **argv, - const rtems_monitor_command_arg_t *command_arg, - bool verbose + int argc __attribute__((unused)), + char **argv __attribute__((unused)), + const rtems_monitor_command_arg_t *command_arg __attribute__((unused)), + bool verbose __attribute__((unused)) ) { #ifdef CPU_INVOKE_DEBUGGER @@ -308,8 +308,8 @@ void rtems_monitor_debugger_cmd( void rtems_monitor_pause_cmd( int argc, char **argv, - const rtems_monitor_command_arg_t *command_arg, - bool verbose + const rtems_monitor_command_arg_t *command_arg __attribute__((unused)), + bool verbose __attribute__((unused)) ) { if (argc == 1) @@ -322,7 +322,7 @@ void rtems_monitor_fatal_cmd( int argc, char **argv, const rtems_monitor_command_arg_t *command_arg, - bool verbose + bool verbose __attribute__((unused)) ) { if (argc == 1) @@ -332,10 +332,10 @@ void rtems_monitor_fatal_cmd( } void rtems_monitor_continue_cmd( - int argc, - char **argv, - const rtems_monitor_command_arg_t *command_arg, - bool verbose + int argc __attribute__((unused)), + char **argv __attribute__((unused)), + const rtems_monitor_command_arg_t *command_arg __attribute__((unused)), + bool verbose __attribute__((unused)) ) { rtems_monitor_suspend(RTEMS_NO_TIMEOUT); @@ -344,8 +344,8 @@ void rtems_monitor_continue_cmd( void rtems_monitor_node_cmd( int argc, char **argv, - const rtems_monitor_command_arg_t *command_arg, - bool verbose + const rtems_monitor_command_arg_t *command_arg __attribute__((unused)), + bool verbose __attribute__((unused)) ) { uint32_t new_node = rtems_monitor_default_node; |