git: f67328181236 - stable/13 - loader.efi: remove extra extern ST
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 22:09:56 UTC
The branch stable/13 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=f67328181236767aaade8746e4224d671434a22c
commit f67328181236767aaade8746e4224d671434a22c
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2021-09-30 02:07:13 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-24 21:49:17 +0000
loader.efi: remove extra extern ST
The definition for 'ST' is in efilib.h, so we don't need extern ST here.
Sponsored by: Netflix
Reviewed by: tsoome, kevans
Differential Revision: https://reviews.freebsd.org/D32225
(cherry picked from commit 8ea95b2fbab8eb891c4191c1879199685951b1f6)
---
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 046d56a2b4fb..da9577803b12 100644
--- a/stand/efi/loader/bootinfo.c
+++ b/stand/efi/loader/bootinfo.c
@@ -63,7 +63,7 @@ __FBSDID("$FreeBSD$");
int bi_load(char *args, vm_offset_t *modulep, vm_offset_t *kernendp,
bool exit_bs);
-extern EFI_SYSTEM_TABLE *ST;
+int boot_services_gone;
static int
bi_getboothowto(char *kargs)