aboutsummaryrefslogtreecommitdiff
path: root/payloads/libpayload/curses/PDCurses-3.4/dos/pdckbd.c
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2011-10-31 12:54:00 -0700
committerPatrick Georgi <patrick@georgi-clan.de>2011-11-01 19:08:23 +0100
commite11835e2995d130890ca9f45cb3e304f2ea3a6a9 (patch)
treecfc5345e9d98b231de0699714771a5d7f54c6ce1 /payloads/libpayload/curses/PDCurses-3.4/dos/pdckbd.c
parentdd6906328904309e4d93e4bcb04a6cfa3646f29d (diff)
libpayload: remove trailing whitespace and run dos2unix
Change-Id: Iffed3602456f5306711c65f06c873c58d4086e11 Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: http://review.coreboot.org/363 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Diffstat (limited to 'payloads/libpayload/curses/PDCurses-3.4/dos/pdckbd.c')
-rw-r--r--payloads/libpayload/curses/PDCurses-3.4/dos/pdckbd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/payloads/libpayload/curses/PDCurses-3.4/dos/pdckbd.c b/payloads/libpayload/curses/PDCurses-3.4/dos/pdckbd.c
index 652cb0cba7..c44393fc0f 100644
--- a/payloads/libpayload/curses/PDCurses-3.4/dos/pdckbd.c
+++ b/payloads/libpayload/curses/PDCurses-3.4/dos/pdckbd.c
@@ -1,5 +1,5 @@
/* Public Domain Curses */
-
+
/* MS C doesn't return flags from int86() */
#ifdef MSC
# define USE_KBHIT
@@ -21,7 +21,7 @@ RCSID("$Id: pdckbd.c,v 1.87 2008/07/13 16:08:17 wmcbrine Exp $")
unsigned long PDC_get_input_fd(void);
Description:
- PDC_get_input_fd() returns the file descriptor that PDCurses
+ PDC_get_input_fd() returns the file descriptor that PDCurses
reads its input from. It can be used for select().
Portability X/Open BSD SYS V
@@ -277,7 +277,7 @@ static int _process_mouse_events(void)
{
if (button[i].pressed)
{
- /* Check for a click -- a PRESS followed
+ /* Check for a click -- a PRESS followed
immediately by a release */
if (!button[i].released)
@@ -451,14 +451,14 @@ int PDC_get_key(void)
return key;
}
-/* discard any pending keyboard or mouse input -- this is the core
+/* discard any pending keyboard or mouse input -- this is the core
routine for flushinp() */
void PDC_flushinp(void)
{
PDC_LOG(("PDC_flushinp() - called\n"));
- /* Force the BIOS keyboard buffer head and tail pointers to be
+ /* Force the BIOS keyboard buffer head and tail pointers to be
the same... Real nasty trick... */
setdosmemword(0x41a, getdosmemword(0x41c));