From aed1e5d332f9d26cdd8477bc336279217d53ecb8 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 3 Dec 2022 17:23:25 -0700 Subject: [PATCH] stand/efi: Break stlye rules a little for easier sharing Break the style rules a little to allow easier sharing between efi and kboot. This will allow the ifdefs to be fewer in number. Sponsored by: Netflix --- stand/efi/loader/bootinfo.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stand/efi/loader/bootinfo.c b/stand/efi/loader/bootinfo.c index 4d4e50718f3a..1185908f64be 100644 --- a/stand/efi/loader/bootinfo.c +++ b/stand/efi/loader/bootinfo.c @@ -69,9 +69,10 @@ bi_getboothowto(char *kargs) { const char *sw, *tmp; char *opts; - char *console; - int howto, speed, port; + int speed, port; char buf[50]; + char *console; + int howto; howto = boot_parse_cmdline(kargs); howto |= boot_env_to_howto();