diff --git a/stand/kboot/arch/aarch64/exec.c b/stand/kboot/arch/aarch64/exec.c --- a/stand/kboot/arch/aarch64/exec.c +++ b/stand/kboot/arch/aarch64/exec.c @@ -100,8 +100,6 @@ }; #endif -extern vm_offset_t kboot_get_phys_load_segment(void); - static int elf64_exec(struct preloaded_file *fp) { diff --git a/stand/kboot/arch/amd64/elf64_freebsd.c b/stand/kboot/arch/amd64/elf64_freebsd.c --- a/stand/kboot/arch/amd64/elf64_freebsd.c +++ b/stand/kboot/arch/amd64/elf64_freebsd.c @@ -67,8 +67,6 @@ #define LOADER_PAGE_SIZE PAGE_SIZE #endif -extern vm_offset_t kboot_get_phys_load_segment(void); - extern int bi_load(char *args, vm_offset_t *modulep, vm_offset_t *kernendp, bool exit_bs);