400e78e45a
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 |
||
---|---|---|
.. | ||
boot1.c | ||
boot_module.h | ||
fat-amd64.tmpl.bz2.uu | ||
fat-arm64.tmpl.bz2.uu | ||
fat-arm.tmpl.bz2.uu | ||
fat-i386.tmpl.bz2.uu | ||
generate-fat.sh | ||
Makefile | ||
Makefile.depend | ||
Makefile.fat | ||
ufs_module.c | ||
zfs_module.c |