git: aed1e5d332f9 - main - stand/efi: Break stlye rules a little for easier sharing
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Dec 2022 04:39:26 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=aed1e5d332f9d26cdd8477bc336279217d53ecb8 commit aed1e5d332f9d26cdd8477bc336279217d53ecb8 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-12-04 00:23:25 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2022-12-04 00:23:25 +0000 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();