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: --- libmachdev/ds_routines.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmachdev/ds_routines.c') diff --git a/libmachdev/ds_routines.c b/libmachdev/ds_routines.c index cc99e296..0d60d589 100644 --- a/libmachdev/ds_routines.c +++ b/libmachdev/ds_routines.c @@ -305,7 +305,7 @@ machdev_create_device_port (size_t size, void *result) } void -machdev_device_init() +machdev_device_init(void) { int i; @@ -320,7 +320,7 @@ machdev_device_init() } void -machdev_device_sync() +machdev_device_sync(void) { int i; for (i = 0; i < num_emul; i++) -- cgit v1.2.3