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: --- console-client/timer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console-client/timer.h') diff --git a/console-client/timer.h b/console-client/timer.h index 8a923ad0..f74f297d 100644 --- a/console-client/timer.h +++ b/console-client/timer.h @@ -55,7 +55,7 @@ int timer_remove (struct timer_list *timer); void timer_change (struct timer_list *timer, long long expires); static inline long long -fetch_jiffies () +fetch_jiffies (void) { extern volatile struct mapped_time_value *timer_mapped_time; extern long long timer_root_jiffies; -- cgit v1.2.3