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: --- libports/interrupted.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libports/interrupted.c') diff --git a/libports/interrupted.c b/libports/interrupted.c index 88fb9ef0..5cd97bad 100644 --- a/libports/interrupted.c +++ b/libports/interrupted.c @@ -28,7 +28,7 @@ static struct rpc_info *interrupted = 0; /* If the current thread's rpc has been interrupted with ports_interrupt_rpcs, return true (and clear the interrupted flag). */ int -ports_self_interrupted () +ports_self_interrupted (void) { struct rpc_info **rpc_p, *rpc; thread_t self = hurd_thread_self (); -- cgit v1.2.3