Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Dec 2022 04:39:26 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: aed1e5d332f9 - main - stand/efi: Break stlye rules a little for easier sharing
Message-ID:  <202212040439.2B44dQQ8074181@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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();



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202212040439.2B44dQQ8074181>