david/ipxe
Archived
1
0

Make has_key() a static inline, rather than omitting it altogether.

This commit is contained in:
Michael Brown 2007-07-28 22:55:17 +01:00
parent 3e816c3d56
commit 0d568ac219
2 changed files with 5 additions and 15 deletions

View File

@ -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 )

View File

@ -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 );
}