summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2011-03-07 20:33:50 +0100
committerMichael Brown2011-03-07 20:37:30 +0100
commit9d633bdc7113f0050a0b35df5245dee2b819a273 (patch)
tree637c56a790d95598026387b05ed086dbc606470c /src/include
parent[console] Avoid timer wraparound problems in getchar_timeout() (diff)
downloadipxe-9d633bdc7113f0050a0b35df5245dee2b819a273.tar.gz
ipxe-9d633bdc7113f0050a0b35df5245dee2b819a273.tar.xz
ipxe-9d633bdc7113f0050a0b35df5245dee2b819a273.zip
[console] Add a timeout parameter to getkey()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/console.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/console.h b/src/include/console.h
index 271b4f365..df9e8092f 100644
--- a/src/include/console.h
+++ b/src/include/console.h
@@ -102,8 +102,7 @@ struct console_driver {
extern void putchar ( int character );
extern int getchar ( void );
-extern int getchar_timeout ( unsigned long timeout );
extern int iskey ( void );
-extern int getkey ( void );
+extern int getkey ( unsigned long timeout );
#endif /* CONSOLE_H */