]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r311932:
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Jan 2017 19:55:35 +0000 (19:55 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 25 Jan 2017 19:55:35 +0000 (19:55 +0000)
commit987c0c95ab73e9a18503e81f37b14d7d132fb1f3
tree52f581dad844375ef5370ea35406fe9365e3f487
parent57fe87f2d76771f6f1e981852c63f57075067dae
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@312772 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/boot/efi/include/efiapi.h