summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-18 10:13:55 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-11-20 10:30:25 +0100
commit12278585c620da3a4ee5521c92db1a4d96913355 (patch)
treeefe6f80e4a7d940a89c5b6943d6d25f6adc364ea
parentshell: Print to stderr in TIME command (diff)
downloadrtems-12278585c620da3a4ee5521c92db1a4d96913355.tar.bz2
shell: Make rtems_shell_main_joel() static
-rw-r--r--cpukit/libmisc/shell/shell_script.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/cpukit/libmisc/shell/shell_script.c b/cpukit/libmisc/shell/shell_script.c
index b198fa1205..b46e124916 100644
--- a/cpukit/libmisc/shell/shell_script.c
+++ b/cpukit/libmisc/shell/shell_script.c
@@ -106,12 +106,7 @@ static int findOnPATH(
#endif
}
-int rtems_shell_main_joel(
- int argc,
- char **argv
-);
-
-int rtems_shell_main_joel(
+static int rtems_shell_main_joel(
int argc,
char **argv
)
@@ -352,6 +347,4 @@ int rtems_shell_script_file(
* have any way for a shell script to access them.
*/
return rtems_shell_main_joel( scriptArgc, scriptArgv );
-
- return 0;
}