From 0209b2c932994e9ca55d39d98a83ea02aacd1332 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sat, 18 Mar 2023 23:18:11 -0400 Subject: Modernize code by removing use of old style definitions. Also add -Werror=old-style-definition to enforce new code. Message-Id: --- libdiskfs/boot-start.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libdiskfs/boot-start.c') diff --git a/libdiskfs/boot-start.c b/libdiskfs/boot-start.c index f245200d..7aaf3669 100644 --- a/libdiskfs/boot-start.c +++ b/libdiskfs/boot-start.c @@ -57,7 +57,7 @@ static void start_execserver (); char **diskfs_argv = 0; static mach_port_t -get_console () +get_console (void) { mach_port_t device_master, console; error_t err = get_privileged_ports (0, &device_master); @@ -95,7 +95,7 @@ _diskfs_boot_privports (void) /* Once diskfs_root_node is set, call this if we are a bootstrap filesystem. */ void -diskfs_start_bootstrap () +diskfs_start_bootstrap (void) { mach_port_t root_pt, startup_pt, bootpt; retry_type retry; -- cgit v1.2.3