summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hci/mucurses/kb.c16
-rw-r--r--src/include/curses.h4
2 files changed, 5 insertions, 15 deletions
diff --git a/src/hci/mucurses/kb.c b/src/hci/mucurses/kb.c
index a68cf26a7..291ee6ac8 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 )
diff --git a/src/include/curses.h b/src/include/curses.h
index 164dd2020..762a63b5a 100644
--- a/src/include/curses.h
+++ b/src/include/curses.h
@@ -566,6 +566,10 @@ static inline bool has_colors ( void ) {
return TRUE;
}
+static inline int has_key ( int kc __unused ) {
+ return TRUE;
+}
+
static inline int hline ( chtype ch, int n ) {
return whline ( stdscr, ch, n );
}