diff options
author | dim <dim@FreeBSD.org> | 2017-01-25 20:12:07 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2017-01-25 20:12:07 +0000 |
commit | e305841feba92b23a935050eb7b68c243d1b8b4e (patch) | |
tree | 365e12ffb2e693059efcf2b95c9821c36bfcf00c /contrib/diff/lib/posixver.c | |
parent | 527c6a097ef4a297a06ad380d3738a6e495b1809 (diff) | |
download | FreeBSD-src-e305841feba92b23a935050eb7b68c243d1b8b4e.zip FreeBSD-src-e305841feba92b23a935050eb7b68c243d1b8b4e.tar.gz |
MFC r311933:
Use proper prototypes in struct boot_module_t
With clang 4.0.0, we are getting the following warnings about struct
boot_module_t in efi's boot_module.h:
In file included from sys/boot/efi/boot1/ufs_module.c:41:
sys/boot/efi/boot1/boot_module.h:67:14: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
void (*init)();
^
void
sys/boot/efi/boot1/boot_module.h:92:16: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
void (*status)();
^
void
sys/boot/efi/boot1/boot_module.h:95:24: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
dev_info_t *(*devices)();
^
void
3 errors generated.
Fix this by adding 'void' to the parameter lists. No functional change.
Reviewed by: emaste, imp, smh
Differential Revision: https://reviews.freebsd.org/D9144
Diffstat (limited to 'contrib/diff/lib/posixver.c')
0 files changed, 0 insertions, 0 deletions