diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2009-04-20 15:56:30 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2009-04-20 15:56:30 -0700 |
commit | 31937531087fb47aa4a3a218e8114b32176f8683 (patch) | |
tree | 45717a07f96c3053df052e084c06db151f1def84 /com32/menu | |
parent | f0e7d4b1ffdd5f636632ac4dd88671410f6dd575 (diff) | |
download | syslinux-31937531087fb47aa4a3a218e8114b32176f8683.tar.gz |
Global whitespace cleanup.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'com32/menu')
-rw-r--r-- | com32/menu/drain.c | 4 | ||||
-rw-r--r-- | com32/menu/execute.c | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/com32/menu/drain.c b/com32/menu/drain.c index 428d9709..ace04518 100644 --- a/com32/menu/drain.c +++ b/com32/menu/drain.c @@ -9,7 +9,7 @@ void drain_keyboard(void) /* Prevent "ghost typing" and keyboard buffer snooping */ volatile char junk; int rv; - + do { rv = read(0, (char *)&junk, 1); } while (rv > 0); @@ -23,5 +23,3 @@ void drain_keyboard(void) memset((void *)0x41e, 0, 32); /* Clear the actual keyboard buffer */ sti(); } - - diff --git a/com32/menu/execute.c b/com32/menu/execute.c index ace0e571..d84958c5 100644 --- a/com32/menu/execute.c +++ b/com32/menu/execute.c @@ -1,5 +1,5 @@ /* ----------------------------------------------------------------------- * - * + * * Copyright 2004-2008 H. Peter Anvin - All Rights Reserved * * This program is free software; you can redistribute it and/or modify @@ -67,4 +67,3 @@ void execute(const char *cmdline, enum kernel_type type) /* If this returns, something went bad; return to menu */ } - |