git: 8ea95b2fbab8 - main - loader.efi: remove extra extern ST

Warner Losh imp at FreeBSD.org
Thu Sep 30 02:08:48 UTC 2021


The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=8ea95b2fbab8eb891c4191c1879199685951b1f6

commit 8ea95b2fbab8eb891c4191c1879199685951b1f6
Author:     Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-09-30 02:07:13 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-09-30 02:07:13 +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
---
 stand/efi/loader/bootinfo.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/stand/efi/loader/bootinfo.c b/stand/efi/loader/bootinfo.c
index f4501f18f14c..15b5d86f82b6 100644
--- a/stand/efi/loader/bootinfo.c
+++ b/stand/efi/loader/bootinfo.c
@@ -63,8 +63,6 @@ __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


More information about the dev-commits-src-main mailing list