sys/efi_map.h: Forward declare struct efi_map_header

This fixes build failures in the test-includes stage of buildworld on
powerpc which does not define a struct efi_map_header type in its
<machine/metadata.h> header.

Fixes:		125877c92d ("arm64: Split EFI map parsing code to a common file")
This commit is contained in:
John Baldwin 2025-03-03 16:37:00 -05:00
parent cd6ed24ba4
commit 498b0abe55

View file

@ -10,6 +10,8 @@
#include <sys/efi.h>
#include <machine/metadata.h>
struct efi_map_header;
typedef void (*efi_map_entry_cb)(struct efi_md *, void *argp);
void efi_map_foreach_entry(struct efi_map_header *efihdr, efi_map_entry_cb cb,