diff options
| author | Warner Losh <imp@FreeBSD.org> | 2025-11-16 23:58:37 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2025-11-17 00:16:26 +0000 |
| commit | 44fb9f2701c71ce6bba75810fc6b7e735ecd5868 (patch) | |
| tree | 6796662206f3ea5fb6ebd35d894452387adc1998 | |
| parent | 60f14d05d217715240ba48bdf3c08f1aa5ead8d0 (diff) | |
sys/efi_map.h: This is a kernel-only file
Slap a #ifdef _KERNEL around it all since it's useless to userland.
Fixes: 43b8edb32051
Sponsored by: Netflix
| -rw-r--r-- | sys/sys/efi_map.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sys/efi_map.h b/sys/sys/efi_map.h index 8b458cd08b00..d2206056b1f8 100644 --- a/sys/sys/efi_map.h +++ b/sys/sys/efi_map.h @@ -7,6 +7,8 @@ #ifndef _SYS_EFI_MAP_H_ #define _SYS_EFI_MAP_H_ +#ifdef _KERNEL + #include <sys/efi.h> #include <machine/metadata.h> @@ -21,4 +23,6 @@ void efi_map_add_entries(struct efi_map_header *efihdr); void efi_map_exclude_entries(struct efi_map_header *efihdr); void efi_map_print_entries(struct efi_map_header *efihdr); +#endif + #endif /* !_SYS_EFI_MAP_H_ */ |
