diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libmisc/shell/cmds.c | 2 | ||||
-rw-r--r-- | cpukit/libmisc/shell/shell.h | 3 |
3 files changed, 9 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 9e69eec326..532358dd6c 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,10 @@ 2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org> + * libmisc/shell/shell.h: Add rtems_shell_main_monitor. + * libmisc/shell/cmds.c: Make rtems_shell_main_monitor non-static. + +2011-12-05 Ralf Corsépius <ralf.corsepius@rtems.org> + * rtems/src/tasks.c: Fix typos. * rtems/src/taskinitusers.c: Fix typos. * posix/src/pthread.c: Fix typos. diff --git a/cpukit/libmisc/shell/cmds.c b/cpukit/libmisc/shell/cmds.c index a1f15290e3..e8d6c581df 100644 --- a/cpukit/libmisc/shell/cmds.c +++ b/cpukit/libmisc/shell/cmds.c @@ -29,7 +29,7 @@ * with this you can call at all the rtems monitor commands. * Not all work fine but you can show the rtems status and more. *-----------------------------------------------------------*/ -static int rtems_shell_main_monitor(int argc, char **argv) { +int rtems_shell_main_monitor(int argc, char **argv) { const rtems_monitor_command_entry_t *command = NULL; if (argc < 1) { diff --git a/cpukit/libmisc/shell/shell.h b/cpukit/libmisc/shell/shell.h index e7f63cfb75..f71cadd990 100644 --- a/cpukit/libmisc/shell/shell.h +++ b/cpukit/libmisc/shell/shell.h @@ -305,6 +305,9 @@ extern rtems_status_code rtems_shell_wait_for_input( void *notification_arg ); +extern int rtems_shell_main_monitor(int argc, char **argv); + + #ifdef __cplusplus } #endif |