From 12278585c620da3a4ee5521c92db1a4d96913355 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 18 Nov 2014 10:13:55 +0100 Subject: shell: Make rtems_shell_main_joel() static --- 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 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; } -- cgit v1.2.3