From 32f5014b513ea37cd949a735b0d4225f8242b272 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 5 Dec 2011 09:46:57 +0000 Subject: =?UTF-8?q?2011-12-05=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libmisc/shell/shell.h: Add rtems_shell_main_monitor. * libmisc/shell/cmds.c: Make rtems_shell_main_monitor non-static. --- cpukit/ChangeLog | 5 +++++ cpukit/libmisc/shell/cmds.c | 2 +- cpukit/libmisc/shell/shell.h | 3 +++ 3 files changed, 9 insertions(+), 1 deletion(-) (limited to 'cpukit') diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 9e69eec326..532358dd6c 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2011-12-05 Ralf Corsépius + + * 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 * rtems/src/tasks.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 -- cgit v1.2.3