From 94547d1d8b92bc8a4402f3f807b1b2c393e01c71 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 4 Dec 2011 11:57:51 +0000 Subject: =?UTF-8?q?2011-12-04=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libmisc/shell/print-ls.c: Include "internal.h". * libmisc/shell/pwcache.c: Make user_from_uid static. * libmisc/shell/shell.c: Make rtems_shell_init_env, rtems_shell_env_free, rtems_shell_line_editor, rtems_shell_init_issue, rtems_shell_task static. * libmisc/shell/shell_cmdset.c: Make rtems_shell_add_topic static. * libmisc/shell/shell_makeargs.c: Include . * libmisc/shell/write_file.c: Include . --- cpukit/libmisc/shell/shell.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cpukit/libmisc/shell/shell.c') diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/shell.c index bcc146731b..14b609bc4e 100644 --- a/cpukit/libmisc/shell/shell.c +++ b/cpukit/libmisc/shell/shell.c @@ -61,7 +61,7 @@ rtems_shell_env_t *rtems_current_shell_env = &rtems_global_shell_env; /* * Initialize the shell user/process environment information */ -rtems_shell_env_t *rtems_shell_init_env( +static rtems_shell_env_t *rtems_shell_init_env( rtems_shell_env_t *shell_env_p ) { @@ -83,7 +83,7 @@ rtems_shell_env_t *rtems_shell_init_env( /* * Completely free a shell_env_t and all associated memory */ -void rtems_shell_env_free( +static void rtems_shell_env_free( void *ptr ) { @@ -103,7 +103,7 @@ void rtems_shell_env_free( /* * Get a line of user input with modest features */ -int rtems_shell_line_editor( +static int rtems_shell_line_editor( char *cmds[], int count, int size, @@ -384,7 +384,7 @@ int rtems_shell_line_editor( * TODO: Redirection. Tty Signals. ENVVARs. Shell language. * ----------------------------------------------- */ -void rtems_shell_init_issue(void) +static void rtems_shell_init_issue(void) { static bool issue_inited=false; struct stat buf; @@ -550,7 +550,7 @@ void rtems_shell_print_env( } #endif -rtems_task rtems_shell_task(rtems_task_argument task_argument) +static rtems_task rtems_shell_task(rtems_task_argument task_argument) { rtems_shell_env_t *shell_env = (rtems_shell_env_t*) task_argument; rtems_id wake_on_end = shell_env->wake_on_end; -- cgit v1.2.3