summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-05 09:46:57 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-05 09:46:57 +0000
commit32f5014b513ea37cd949a735b0d4225f8242b272 (patch)
treedc9a6968a16e943239d56dec22013fbec1e8b8c8 /cpukit
parent2011-12-05 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff)
downloadrtems-32f5014b513ea37cd949a735b0d4225f8242b272.tar.bz2
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.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libmisc/shell/cmds.c2
-rw-r--r--cpukit/libmisc/shell/shell.h3
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