diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-11-15 14:14:36 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2002-11-15 14:14:36 +0000 |
commit | cef22e874a9453f280b92e9c8ecfa84c9db2004d (patch) | |
tree | 8ef2e8ec9dfb4b21d91002e7d9585d3bf937bdb8 /c/src/libmisc | |
parent | 2002-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-cef22e874a9453f280b92e9c8ecfa84c9db2004d.tar.bz2 |
2002-11-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/mon-commands.c: Removed warnings for RTEMS_UNIX.
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 |