From 0d568ac2197428cbf17a4d83574fa2ff22fd7e72 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 28 Jul 2007 22:55:17 +0100 Subject: Make has_key() a static inline, rather than omitting it altogether. --- src/hci/mucurses/kb.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/hci') 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 ) -- cgit v1.2.3-55-g7522