summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell/main_logoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libmisc/shell/main_logoff.c')
-rw-r--r--cpukit/libmisc/shell/main_logoff.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpukit/libmisc/shell/main_logoff.c b/cpukit/libmisc/shell/main_logoff.c
index 5653f7114b..5072fb7939 100644
--- a/cpukit/libmisc/shell/main_logoff.c
+++ b/cpukit/libmisc/shell/main_logoff.c
@@ -23,20 +23,20 @@
#include "internal.h"
/*-----------------------------------------------------------*/
-int main_logoff(int argc,char *argv[])
+int rtems_shell_main_logoff(int argc,char *argv[])
{
printf("logoff from the system...");
- current_shell_env->exit_shell=TRUE;
+ rtems_current_shell_env->exit_shell=TRUE;
return 0;
}
-shell_cmd_t Shell_LOGOFF_Command = {
+rtems_shell_cmd_t rtems_Shell_LOGOFF_Command = {
"logoff", /* name */
"logoff from the system", /* usage */
"misc", /* topic */
- main_logoff, /* command */
+ rtems_shell_main_logoff, /* command */
NULL, /* alias */
NULL /* next */
};