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: --- libps/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libps/host.c') diff --git a/libps/host.c b/libps/host.c index 120e5c49..3ef83cae 100644 --- a/libps/host.c +++ b/libps/host.c @@ -38,7 +38,7 @@ /* Return the current host port. */ mach_port_t -ps_get_host () +ps_get_host (void) { static mach_port_t host = MACH_PORT_NULL; if (host == MACH_PORT_NULL) -- cgit v1.2.3