Unbreak gcc build by using (void) for functions that take no args.

Sponsored by: Netflix
This commit is contained in:
imp 2017-12-11 16:17:53 +00:00
parent 35e385af34
commit ce0c071810

View File

@ -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");