Author: imp Date: Mon Dec 11 16:17:53 2017 New Revision: 326771 URL: https://svnweb.freebsd.org/changeset/base/326771
Log: Unbreak gcc build by using (void) for functions that take no args. Sponsored by: Netflix Modified: head/usr.sbin/efibootmgr/efibootmgr.c Modified: head/usr.sbin/efibootmgr/efibootmgr.c ============================================================================== --- head/usr.sbin/efibootmgr/efibootmgr.c Mon Dec 11 15:33:24 2017 (r326770) +++ head/usr.sbin/efibootmgr/efibootmgr.c Mon Dec 11 16:17:53 2017 (r326771) @@ -275,7 +275,7 @@ parse_args(int argc, char *argv[]) static void -print_order() +print_order(void) { uint32_t attrs; uint8_t *data; @@ -531,7 +531,7 @@ compare(const void *a, const void *b) } static char * -make_next_boot_var_name() +make_next_boot_var_name(void) { struct entry *v; uint16_t *vals, next_free = 0; @@ -823,7 +823,7 @@ print_boot_vars(bool verbose) } static void -delete_timeout() +delete_timeout(void) { efi_del_variable(EFI_GLOBAL_GUID,"Timeout"); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"