diff options
author | dim <dim@FreeBSD.org> | 2017-01-25 19:55:35 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2017-01-25 19:55:35 +0000 |
commit | 527c6a097ef4a297a06ad380d3738a6e495b1809 (patch) | |
tree | 52f581dad844375ef5370ea35406fe9365e3f487 /sys | |
parent | 5bf9dad6e5891374fcc29e7dd723455d287e9330 (diff) | |
download | FreeBSD-src-527c6a097ef4a297a06ad380d3738a6e495b1809.zip FreeBSD-src-527c6a097ef4a297a06ad380d3738a6e495b1809.tar.gz |
MFC r311932:
Make EFI_RESERVED_SERVICE a proper prototype
With clang 4.0.0, the EFI API header causes the following warning:
In file included from sys/boot/efi/loader/bootinfo.c:43:
In file included from sys/boot/efi/loader/../include/efi.h:52:
sys/boot/efi/include/efiapi.h:534:32: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
(EFIAPI *EFI_RESERVED_SERVICE) (
^
Add VOID to make it into a real prototype.
Reviewed by: imp, emaste, tsoome
Differential Revision: https://reviews.freebsd.org/D9132
Diffstat (limited to 'sys')
-rw-r--r-- | sys/boot/efi/include/efiapi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/efi/include/efiapi.h b/sys/boot/efi/include/efiapi.h index 25e40a2..1ce7f62 100644 --- a/sys/boot/efi/include/efiapi.h +++ b/sys/boot/efi/include/efiapi.h @@ -536,6 +536,7 @@ EFI_STATUS typedef EFI_STATUS (EFIAPI *EFI_RESERVED_SERVICE) ( + VOID ); typedef |