summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/shell
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/libmisc/shell/shell.c8
-rw-r--r--cpukit/libmisc/shell/shell.h14
2 files changed, 13 insertions, 9 deletions
diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/shell.c
index ea87edb145..4bbbec4033 100644
--- a/cpukit/libmisc/shell/shell.c
+++ b/cpukit/libmisc/shell/shell.c
@@ -342,17 +342,17 @@ void rtems_shell_print_env(
}
#endif
-rtems_task rtems_shell_shell(rtems_task_argument task_argument)
+rtems_task rtems_shell_task(rtems_task_argument task_argument)
{
rtems_shell_env_t * shell_env = (rtems_shell_env_t*) task_argument;
- rtems_shell_shell_loop( shell_env );
+ rtems_shell_main_loop( shell_env );
rtems_task_delete( RTEMS_SELF );
}
#define RTEMS_SHELL_MAXIMUM_ARGUMENTS 128
-rtems_boolean rtems_shell_shell_loop(
+rtems_boolean rtems_shell_main_loop(
rtems_shell_env_t *shell_env_arg
)
{
@@ -535,6 +535,6 @@ rtems_status_code rtems_shell_init (
shell_env->exit_shell = FALSE;
shell_env->forever = forever;
- return rtems_task_start(task_id,rtems_shell_shell,
+ return rtems_task_start(task_id, rtems_shell_task,
(rtems_task_argument) shell_env);
}
diff --git a/cpukit/libmisc/shell/shell.h b/cpukit/libmisc/shell/shell.h
index fbaf1165ac..d9a2a53fe7 100644
--- a/cpukit/libmisc/shell/shell.h
+++ b/cpukit/libmisc/shell/shell.h
@@ -119,7 +119,7 @@ typedef struct {
uintptr_t mdump_addr;
} rtems_shell_env_t;
-rtems_boolean rtems_shell_shell_loop(
+rtems_boolean rtems_shell_main_loop(
rtems_shell_env_t *rtems_shell_env
);
@@ -137,10 +137,14 @@ extern rtems_shell_env_t *rtems_current_shell_env;
*/
struct rtems_shell_filesystems_tt;
typedef struct rtems_shell_filesystems_tt rtems_shell_filesystems_t;
-typedef int (*rtems_shell_filesystems_mounter_t)(const char* driver,
- const char* path,
- rtems_shell_filesystems_t* fs,
- rtems_filesystem_options_t options);
+
+typedef int (*rtems_shell_filesystems_mounter_t)(
+ const char* driver,
+ const char* path,
+ rtems_shell_filesystems_t* fs,
+ rtems_filesystem_options_t options
+);
+
struct rtems_shell_filesystems_tt {
const char* name;
int driver_needed;