summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-12-04 09:42:29 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-12-04 09:42:29 +0000
commit9cfd22236ce8944716e23f86353b741ebae7371a (patch)
tree79405c5ad6d23818d1125b5987a156103ec55df2 /cpukit
parent2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-9cfd22236ce8944716e23f86353b741ebae7371a.tar.bz2
2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/internal.h: #include "shell.h". Add various missing decls.
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/ChangeLog2
-rw-r--r--cpukit/libmisc/shell/internal.h20
2 files changed, 19 insertions, 3 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index acb8b89415..4a4d055349 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,5 +1,7 @@
2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
+ * libmisc/shell/internal.h: #include "shell.h".
+ Add various missing decls.
* libmisc/shell/cat_file.c: #include <rtems/shell.h>.
* libmisc/shell/filemode.c: #include "internal.h".
* libmisc/shell/shell.h: Declare functions "extern".
diff --git a/cpukit/libmisc/shell/internal.h b/cpukit/libmisc/shell/internal.h
index aadd346092..f4a67d6a08 100644
--- a/cpukit/libmisc/shell/internal.h
+++ b/cpukit/libmisc/shell/internal.h
@@ -11,6 +11,8 @@
#ifndef _RTEMS_SHELL_INTERNAL_H
#define _RTEMS_SHELL_INTERNAL_H
+#include "shell.h"
+
struct rtems_shell_topic_tt;
typedef struct rtems_shell_topic_tt rtems_shell_topic_t;
@@ -26,12 +28,24 @@ extern rtems_shell_topic_t * rtems_shell_first_topic;
rtems_shell_topic_t * rtems_shell_lookup_topic(const char *topic);
-void rtems_shell_register_monitor_commands(void);
-void rtems_shell_initialize_command_set(void);
+extern void rtems_shell_register_monitor_commands(void);
+extern void rtems_shell_initialize_command_set(void);
-void rtems_shell_print_heap_info(
+extern void rtems_shell_print_heap_info(
const char *c,
Heap_Information *h
);
+
+extern int rtems_shell_main_mdump(int argc, char *argv[]);
+
+extern void rtems_shell_print_unified_work_area_message(void);
+
+extern int rtems_shell_main_rm(int argc, char *argv[]);
+extern int rtems_shell_main_cp(int argc, char *argv[]);
+
+#include <sys/types.h>
+
+extern void strmode(mode_t mode, char *p);
+
#endif