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/pc-kbd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'console-client/pc-kbd.c') diff --git a/console-client/pc-kbd.c b/console-client/pc-kbd.c index 85f3a5cd..afd3411e 100644 --- a/console-client/pc-kbd.c +++ b/console-client/pc-kbd.c @@ -588,7 +588,7 @@ enum scancode sc_set1_to_set2_x1[] = }; static enum scancode -gnumach_v1_input_next () +gnumach_v1_input_next (void) { kd_event data_buf; #ifndef XKB_SUPPORT @@ -671,7 +671,7 @@ update_leds (void) } static enum scancode -input_next () +input_next (void) { enum scancode sc = 0; unsigned char next; -- cgit v1.2.3