freebsd-dev/sys/boot/efi/boot1
Dimitry Andric 400e78e45a 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
2017-01-11 20:00:24 +00:00
..
boot1.c boot1.efi Free() should check for NULL to provide consistent behavior 2016-08-17 21:29:57 +00:00
boot_module.h Use proper prototypes in struct boot_module_t 2017-01-11 20:00:24 +00:00
fat-amd64.tmpl.bz2.uu boot1: regenerate FAT templates after r297871 2016-04-12 20:59:25 +00:00
fat-arm64.tmpl.bz2.uu boot1: regenerate FAT templates after r297871 2016-04-12 20:59:25 +00:00
fat-arm.tmpl.bz2.uu boot1: regenerate FAT templates after r297871 2016-04-12 20:59:25 +00:00
fat-i386.tmpl.bz2.uu boot1: regenerate FAT templates after r297871 2016-04-12 20:59:25 +00:00
generate-fat.sh boot1.efifat: provide a fallback startup.nsh 2016-04-12 20:52:28 +00:00
Makefile dd is currently a bootstrap tool. It really doesn't have any business 2016-12-02 14:44:38 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2016-02-16 02:14:30 +00:00
Makefile.fat boot1: regenerate FAT templates after r297871 2016-04-12 20:59:25 +00:00
ufs_module.c Correctly print and cast u_int64_t and off_t. 2016-08-17 08:29:30 +00:00
zfs_module.c Correctly print and cast u_int64_t and off_t. 2016-08-17 08:29:30 +00:00