diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-11 20:00:24 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-11 20:00:24 +0000 |
commit | 400e78e45af1edc7cfd2b0f46dc6bf0938dca693 (patch) | |
tree | b9cafe67284d1a6c0e959bfd246d308551ba55be /sys/dev/ntb | |
parent | 5b89bdba3db97af89a49bb0a2420941529d6910b (diff) | |
download | src-400e78e45af1edc7cfd2b0f46dc6bf0938dca693.tar.gz src-400e78e45af1edc7cfd2b0f46dc6bf0938dca693.zip |
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
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D9144
Notes
Notes:
svn path=/head/; revision=311933
Diffstat (limited to 'sys/dev/ntb')
0 files changed, 0 insertions, 0 deletions