summaryrefslogtreecommitdiffstats
path: root/src/include/curses.h
diff options
context:
space:
mode:
authorMichael Brown2007-07-28 23:55:17 +0200
committerMichael Brown2007-07-28 23:55:17 +0200
commit0d568ac2197428cbf17a4d83574fa2ff22fd7e72 (patch)
treef7b6320244f7657f85b1db73580e8a7910225907 /src/include/curses.h
parentRevert "make bool m_echo static" - I suspect this to be defined by spec (diff)
downloadipxe-0d568ac2197428cbf17a4d83574fa2ff22fd7e72.tar.gz
ipxe-0d568ac2197428cbf17a4d83574fa2ff22fd7e72.tar.xz
ipxe-0d568ac2197428cbf17a4d83574fa2ff22fd7e72.zip
Make has_key() a static inline, rather than omitting it altogether.
Diffstat (limited to 'src/include/curses.h')
-rw-r--r--src/include/curses.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/curses.h b/src/include/curses.h
index 164dd202..762a63b5 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 );
}