aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/efibootmgr/efibootmgr.c
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2017-12-11 16:17:53 +0000
committerWarner Losh <imp@FreeBSD.org>2017-12-11 16:17:53 +0000
commit6604afe9c7b3af7355d31bc8a83592351321a69b (patch)
tree16a0cc69ce6e56cb82e7d8378ee922b86f29ecf8 /usr.sbin/efibootmgr/efibootmgr.c
parentcb35676e66957f7d6fded82cc9842b59a1bfae70 (diff)
downloadsrc-6604afe9c7b3af7355d31bc8a83592351321a69b.tar.gz
src-6604afe9c7b3af7355d31bc8a83592351321a69b.zip
Unbreak gcc build by using (void) for functions that take no args.
Sponsored by: Netflix
Notes
Notes: svn path=/head/; revision=326771
Diffstat (limited to 'usr.sbin/efibootmgr/efibootmgr.c')
-rw-r--r--usr.sbin/efibootmgr/efibootmgr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/efibootmgr/efibootmgr.c b/usr.sbin/efibootmgr/efibootmgr.c
index a60d58f78d21..621369907eda 100644
--- a/usr.sbin/efibootmgr/efibootmgr.c
+++ b/usr.sbin/efibootmgr/efibootmgr.c
@@ -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");