mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 07:11:32 +00:00
Make has_key() a static inline, rather than omitting it altogether.
This commit is contained in:
parent
3e816c3d56
commit
0d568ac219
@ -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 )
|
||||
|
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user