diff options
Diffstat (limited to 'c/src/libmisc')
-rw-r--r-- | c/src/libmisc/ChangeLog | 4 | ||||
-rw-r--r-- | c/src/libmisc/monitor/mon-command.c | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/c/src/libmisc/ChangeLog b/c/src/libmisc/ChangeLog index b3341351fa..8060de0b29 100644 --- a/c/src/libmisc/ChangeLog +++ b/c/src/libmisc/ChangeLog @@ -1,3 +1,7 @@ +2002-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> + + * monitor/mon-commands.c: Removed warnings for RTEMS_UNIX. + 2002-11-14 Ralf Corsepius <corsepiu@faw.uni-ulm.de> * capture/Makefile.am: Remove AUTOMAKE_OPTIONS. diff --git a/c/src/libmisc/monitor/mon-command.c b/c/src/libmisc/monitor/mon-command.c index 594bd19084..54f35cb04f 100644 --- a/c/src/libmisc/monitor/mon-command.c +++ b/c/src/libmisc/monitor/mon-command.c @@ -54,20 +54,23 @@ #define RTEMS_COMMAND_BUFFER_SIZE (75) static char monitor_prompt[32]; +#ifndef RTEMS_UNIX static char buffer[RTEMS_COMMAND_BUFFER_SIZE]; static int pos; static int logged_in; - +#endif /* * History data. */ #define RTEMS_COMMAND_HISTORIES (20) +#ifndef RTEMS_UNIX static char history_buffer[RTEMS_COMMAND_HISTORIES][RTEMS_COMMAND_BUFFER_SIZE]; static int history_pos[RTEMS_COMMAND_HISTORIES]; static int history; static int history_next; +#endif /* * Translation tables. Not sure if this is the best way to |