mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 13:30:57 +03:00
Make has_key() a static inline, rather than omitting it altogether.
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user