diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-03-18 23:18:11 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-04-03 00:22:08 +0200 |
commit | 0209b2c932994e9ca55d39d98a83ea02aacd1332 (patch) | |
tree | f8778cca656943ee36193b49a7727557ba82319b /console-client/timer.h | |
parent | 6f3d68bc8b46bdc7b0f5f43918744d99746672a2 (diff) | |
download | hurd-0209b2c932994e9ca55d39d98a83ea02aacd1332.tar.gz hurd-0209b2c932994e9ca55d39d98a83ea02aacd1332.tar.bz2 hurd-0209b2c932994e9ca55d39d98a83ea02aacd1332.zip |
Modernize code by removing use of old style definitions.
Also add -Werror=old-style-definition to enforce new code.
Message-Id: <ZBZ+8xf7GHy2RT/h@jupiter.tail36e24.ts.net>
Diffstat (limited to 'console-client/timer.h')
-rw-r--r-- | console-client/timer.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |