[PATCH 16/22] shell: Make rtems_shell_main_joel() static

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Nov 18 14:37:22 UTC 2014


---
 cpukit/libmisc/shell/shell_script.c | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/cpukit/libmisc/shell/shell_script.c b/cpukit/libmisc/shell/shell_script.c
index b198fa1..b46e124 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;
 }
-- 
1.8.4.5



More information about the devel mailing list