forked from Imagelibrary/rtems
2011-12-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmisc/shell/internal.h: #include "shell.h". Add various missing decls.
This commit is contained in:
@@ -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".
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user