With clang 4.0.0, the EFI API header causes the following warning:
In file included from /share/dim/src/freebsd/base/projects/clang400-import/sys/boot/efi/loader/bootinfo.c:43:
In file included from /share/dim/src/freebsd/base/projects/clang400-import/sys/boot/efi/loader/../include/efi.h:52:
/share/dim/src/freebsd/base/projects/clang400-import/sys/boot/efi/loader/../include/efiapi.h:534:32: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
(EFIAPI *EFI_RESERVED_SERVICE) (
^Let's add VOID to make it into a real prototype. Alternatively, we
could use "...", but I don't think that is necessary.