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/compose.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console-client/xkb/compose.c') diff --git a/console-client/xkb/compose.c b/console-client/xkb/compose.c index 17f30014..955c820c 100644 --- a/console-client/xkb/compose.c +++ b/console-client/xkb/compose.c @@ -518,7 +518,7 @@ match_right_set_left (void *context, struct map_entry *entry) - .XCompose at $HOME. - System wide compose file for the current locale. */ static char * -get_compose_file_for_locale() +get_compose_file_for_locale(void) { struct matcher_context context = { NULL }; char *xcomposefile; -- cgit v1.2.3