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/create-bucket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libports/create-bucket.c') diff --git a/libports/create-bucket.c b/libports/create-bucket.c index 81fe044c..1095332e 100644 --- a/libports/create-bucket.c +++ b/libports/create-bucket.c @@ -28,13 +28,13 @@ static struct port_class *notify_port_class; static pthread_once_t init_notify_port_class_once = PTHREAD_ONCE_INIT; static void -init_notify_port_class () +init_notify_port_class (void) { notify_port_class = ports_create_class (NULL, NULL); } struct port_bucket * -ports_create_bucket () +ports_create_bucket (void) { struct port_bucket *ret; error_t err; -- cgit v1.2.3