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: --- libnetfs/init-loop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libnetfs/init-loop.c') diff --git a/libnetfs/init-loop.c b/libnetfs/init-loop.c index 61471c2f..c6ca5387 100644 --- a/libnetfs/init-loop.c +++ b/libnetfs/init-loop.c @@ -24,7 +24,7 @@ static int thread_timeout = 1000 * 60 * 2; /* two minutes */ static int server_timeout = 1000 * 60 * 10; /* ten minutes */ void -netfs_server_loop () +netfs_server_loop (void) { error_t err; -- cgit v1.2.3