summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/main_wkspaceinfo.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/main_wkspaceinfo.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/main_wkspaceinfo.c')
-rw-r--r--cpukit/libmisc/shell/main_wkspaceinfo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpukit/libmisc/shell/main_wkspaceinfo.c b/cpukit/libmisc/shell/main_wkspaceinfo.c
index 9eb26900d5..fd7c531854 100644
--- a/cpukit/libmisc/shell/main_wkspaceinfo.c
+++ b/cpukit/libmisc/shell/main_wkspaceinfo.c
@@ -34,8 +34,8 @@ void rtems_shell_print_unified_work_area_message(void)
}
int rtems_shell_main_wkspace_info(
- int argc,
- char *argv[]
+ int argc __attribute__((unused)),
+ char *argv[] __attribute__((unused))
)
{
Heap_Information_block info;
@@ -57,4 +57,3 @@ rtems_shell_cmd_t rtems_shell_WKSPACE_INFO_Command = {
NULL, /* alias */
NULL /* next */
};
-