diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-18 10:03:24 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-11-20 10:30:25 +0100 |
commit | 7840b66f74005f3d6ddd590b9ab40945e1c1f827 (patch) | |
tree | b97b898e4f40b1934a4a3b4518f08115aa28ba07 /cpukit/libmisc/shell/shell_cmdset.c | |
parent | shell: Simplify rtems_shell_add_cmd_struct() (diff) | |
download | rtems-7840b66f74005f3d6ddd590b9ab40945e1c1f827.tar.bz2 |
shell: Add initial commands and aliases only once
Make tables read-only.
Diffstat (limited to 'cpukit/libmisc/shell/shell_cmdset.c')
-rw-r--r-- | cpukit/libmisc/shell/shell_cmdset.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/cpukit/libmisc/shell/shell_cmdset.c b/cpukit/libmisc/shell/shell_cmdset.c index e291e7449c..2f2c246429 100644 --- a/cpukit/libmisc/shell/shell_cmdset.c +++ b/cpukit/libmisc/shell/shell_cmdset.c @@ -183,23 +183,6 @@ rtems_shell_cmd_t * rtems_shell_add_cmd( return shell_cmd; } - -void rtems_shell_initialize_command_set(void) -{ - rtems_shell_cmd_t **c; - rtems_shell_alias_t **a; - - for ( c = rtems_shell_Initial_commands ; *c ; c++ ) { - rtems_shell_add_cmd_struct( *c ); - } - - for ( a = rtems_shell_Initial_aliases ; *a ; a++ ) { - rtems_shell_alias_cmd( (*a)->name, (*a)->alias ); - } - - rtems_shell_register_monitor_commands(); -} - /* ----------------------------------------------- * * you can make an alias for every command. * ----------------------------------------------- */ |