x86 setup: add missing prototype; formatting fix
Add prototype for cmdline_find_option_bool() missing from: x86 setup: early cmdline parser handle boolean options Also, fix up a minor formatting error in that patch. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:

committed by
Ingo Molnar

parent
f7775016c6
commit
70d8abf5df
@@ -107,7 +107,7 @@ int cmdline_find_option_bool(const char *option)
|
||||
u32 cmdline_ptr = boot_params.hdr.cmd_line_ptr;
|
||||
addr_t cptr;
|
||||
char c;
|
||||
int pos =0 , wstart = 0;
|
||||
int pos = 0, wstart = 0;
|
||||
const char *opptr = NULL;
|
||||
enum {
|
||||
st_wordstart, /* Start of word/after whitespace */
|
||||
|
Reference in New Issue
Block a user