summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/shell_script.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/shell_script.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/shell_script.c')
-rw-r--r--cpukit/libmisc/shell/shell_script.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/libmisc/shell/shell_script.c b/cpukit/libmisc/shell/shell_script.c
index 40b8210528..a970720879 100644
--- a/cpukit/libmisc/shell/shell_script.c
+++ b/cpukit/libmisc/shell/shell_script.c
@@ -213,7 +213,7 @@ rtems_shell_cmd_t rtems_shell_JOEL_Command = {
* appears to be a shell script.
*/
int rtems_shell_script_file(
- int argc,
+ int argc __attribute__((unused)),
char *argv[]
)
{
@@ -326,4 +326,3 @@ int rtems_shell_script_file(
return 0;
}
-