summaryrefslogtreecommitdiffstats
path: root/src/hci/mucurses
diff options
context:
space:
mode:
authorMichael Brown2007-07-28 23:55:17 +0200
committerMichael Brown2007-07-28 23:55:17 +0200
commit0d568ac2197428cbf17a4d83574fa2ff22fd7e72 (patch)
treef7b6320244f7657f85b1db73580e8a7910225907 /src/hci/mucurses
parentRevert "make bool m_echo static" - I suspect this to be defined by spec (diff)
downloadipxe-0d568ac2197428cbf17a4d83574fa2ff22fd7e72.tar.gz
ipxe-0d568ac2197428cbf17a4d83574fa2ff22fd7e72.tar.xz
ipxe-0d568ac2197428cbf17a4d83574fa2ff22fd7e72.zip
Make has_key() a static inline, rather than omitting it altogether.
Diffstat (limited to 'src/hci/mucurses')
-rw-r--r--src/hci/mucurses/kb.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/src/hci/mucurses/kb.c b/src/hci/mucurses/kb.c
index a68cf26a..291ee6ac 100644
--- a/src/hci/mucurses/kb.c
+++ b/src/hci/mucurses/kb.c
@@ -19,21 +19,7 @@ int m_delay; /*
bool m_echo;
bool m_cbreak;
-#if 0
-/**
- * Check KEY_ code supported status
- *
- * @v kc keycode value to check
- * @ret TRUE KEY_* supported
- * @ret FALSE KEY_* unsupported
- */
-int has_key ( int kc __unused ) {
- return TRUE;
-}
-#endif
-
-static
-int _wgetc ( WINDOW *win ) {
+static int _wgetc ( WINDOW *win ) {
int timer, c;
if ( win == NULL )