Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jan 2023 22:13:47 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 583dde3da0b6 - stable/13 - stand/efi: Break stlye rules a little for easier sharing
Message-ID:  <202301242213.30OMDlCg088909@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=583dde3da0b64e772e0f10c1485d55cf2375d311

commit 583dde3da0b64e772e0f10c1485d55cf2375d311
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-12-04 00:23:25 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-24 21:49:42 +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
    
    (cherry picked from commit aed1e5d332f9d26cdd8477bc336279217d53ecb8)
---
 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 2187a09c1ebf..e05197189a46 100644
--- a/stand/efi/loader/bootinfo.c
+++ b/stand/efi/loader/bootinfo.c
@@ -71,9 +71,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?202301242213.30OMDlCg088909>