summaryrefslogtreecommitdiffstats
path: root/cpukit/libmisc/monitor/mon-command.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-09-22 13:14:26 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-09-22 13:14:26 +0000
commitc6d35fa59f75ace288116fd2fb800134ef95741e (patch)
tree47c2783ec1c1e930da10159adf82e52b31142147 /cpukit/libmisc/monitor/mon-command.c
parent2003-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff)
downloadrtems-c6d35fa59f75ace288116fd2fb800134ef95741e.tar.bz2
2003-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* monitor/monitor.h: Add rtems_monitor_commands[] (Illegally applied by shell/). Remove ifdef(__mips64) (Make broken code visible again). * monitor/mon-command.c: Add several ifndef RTEMS_UNIX to avoid warnings. * monitor/mon-monitor.c: Remove RTEMS_CPU_HAS_16_BIT_ADDRESSES (Make broken code visible again). * shell/cmds.c: Remove local decls of rtems_monitor_commands[].
Diffstat (limited to 'cpukit/libmisc/monitor/mon-command.c')
-rw-r--r--cpukit/libmisc/monitor/mon-command.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/libmisc/monitor/mon-command.c b/cpukit/libmisc/monitor/mon-command.c
index 4072a21070..5812a1f3b5 100644
--- a/cpukit/libmisc/monitor/mon-command.c
+++ b/cpukit/libmisc/monitor/mon-command.c
@@ -94,6 +94,7 @@ struct translation_table
unsigned int key;
};
+#ifndef RTEMS_UNIX
static struct translation_table trans_two[] =
{
{ '~', 0, KEYS_INS },
@@ -150,6 +151,7 @@ static struct translation_table trans_tab[] =
{ 'O', trans_tab_O, 0 }, /* O are the fuction keys */
{ 0, 0, 0 }
};
+#endif
/*
* Perform a basic tranlation for some ANSI/VT100 key codes.
@@ -158,6 +160,7 @@ static struct translation_table trans_tab[] =
* line editor below so considiered not worth the effort.
*/
+#ifndef RTEMS_UNIX
static unsigned int
rtems_monitor_getchar (
)
@@ -213,6 +216,7 @@ rtems_monitor_getchar (
}
}
}
+#endif
#ifndef RTEMS_UNIX
/*