git: 374952d9911b - stable/13 - stand/efi: Better include order for sharing
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 22:13:46 UTC
The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=374952d9911bf362c97751d93311df9e1c9457dc commit 374952d9911bf362c97751d93311df9e1c9457dc Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2022-12-04 00:23:22 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2023-01-24 21:49:42 +0000 stand/efi: Better include order for sharing Have a better include order so this can more easily be shared between EFI and kboot. Fewer ifdefs and the same (enough) include order as before. Sponsored by: Netflix (cherry picked from commit 3f2c1eb5b84317bae98420c1346304b604436727) --- stand/efi/loader/bootinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stand/efi/loader/bootinfo.c b/stand/efi/loader/bootinfo.c index 8daa00660e17..2187a09c1ebf 100644 --- a/stand/efi/loader/bootinfo.c +++ b/stand/efi/loader/bootinfo.c @@ -45,12 +45,12 @@ __FBSDID("$FreeBSD$"); #include "bootstrap.h" #include "modinfo.h" -#include "loader_efi.h" #if defined(__amd64__) #include <machine/specialreg.h> #endif +#include "loader_efi.h" #include "gfx_fb.h" #if defined(LOADER_FDT_SUPPORT)