git: ce416dfad5c8 - stable/12 - loader.efi: remove extra extern ST
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Oct 2021 06:11:30 UTC
The branch stable/12 has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=ce416dfad5c8b036820a11c2ada65c68e9d4f928 commit ce416dfad5c8b036820a11c2ada65c68e9d4f928 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2021-09-30 02:07:13 +0000 Commit: Kyle Evans <kevans@FreeBSD.org> CommitDate: 2021-10-08 05:24:28 +0000 loader.efi: remove extra extern ST The definition for 'ST' is in efilib.h, so we don't need extern ST here. (cherry picked from commit 8ea95b2fbab8eb891c4191c1879199685951b1f6) --- 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 b1df11acd53f..295e9974ca05 100644 --- a/stand/efi/loader/bootinfo.c +++ b/stand/efi/loader/bootinfo.c @@ -62,8 +62,6 @@ __FBSDID("$FreeBSD$"); int bi_load(char *args, vm_offset_t *modulep, vm_offset_t *kernendp); -extern EFI_SYSTEM_TABLE *ST; - static int bi_getboothowto(char *kargs) {