diff options
Diffstat (limited to 'cpukit/libmisc/shell')
-rw-r--r-- | cpukit/libmisc/shell/cmds.c | 2 | ||||
-rw-r--r-- | cpukit/libmisc/shell/shell.h | 3 |
2 files changed, 4 insertions, 1 deletions
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 |