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 /cpukit/libmisc/monitor/mon-command.c | |
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 '')
-rw-r--r-- | cpukit/libmisc/monitor/mon-command.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/libmisc/monitor/mon-command.c b/cpukit/libmisc/monitor/mon-command.c index 594bd19084..54f35cb04f 100644 --- a/cpukit/libmisc/monitor/mon-command.c +++ b/cpukit/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 |