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/xkb/xkbdata.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'console-client/xkb/xkbdata.c') diff --git a/console-client/xkb/xkbdata.c b/console-client/xkb/xkbdata.c index a6e2522f..32a1b1f2 100644 --- a/console-client/xkb/xkbdata.c +++ b/console-client/xkb/xkbdata.c @@ -43,7 +43,7 @@ static struct hurd_ihash kn_mapping; /* Initialize the keyname hashtable. */ static void -keyname_init () +keyname_init (void) { hurd_ihash_init (&kn_mapping, HURD_IHASH_NO_LOCP); debug_printf ("Kn_mapping init"); @@ -143,7 +143,7 @@ struct keytype *kthash[KTHSZ]; /* Initialize the keytypes hashtable. */ static void -keytype_init () +keytype_init (void) { int n; for (n = 0; n < KTHSZ; n++) @@ -394,7 +394,7 @@ static struct hurd_ihash ksrm_mapping; /* Initialize the list for keysyms to realmodifiers mappings. */ void -ksrm_init () +ksrm_init (void) { hurd_ihash_init (&ksrm_mapping, HURD_IHASH_NO_LOCP); debug_printf ("KSRM MAP IHASH CREATED \n"); -- cgit v1.2.3