From a096270c77b1f6461a2ef58660ad9cfa9cbb32bb Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sat, 8 Apr 2023 01:03:31 -0400 Subject: Further modernize Hurd code by enforcing strict prototypes and no implicit function declarations. Most of the changes land in one of these buckets: * Removed unused declarations. * Used (void) to represent no parameters instead of () which means an undeterminate number of parameters. * Included missing header files whenever necessary (stdlib.h, sys/mman.h, etc) * Typedefed function pointers to be able to fully declare the parameter types. * Added declarations of library functions that are used elsewhere (example is libps/ps.h). * Made functions static whenever they are only used in that file. * Forwarded declarations of some methods that were made static. Message-Id: --- console-client/xkb/xkb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'console-client/xkb/xkb.h') diff --git a/console-client/xkb/xkb.h b/console-client/xkb/xkb.h index e38b5ae7..bfc93a53 100644 --- a/console-client/xkb/xkb.h +++ b/console-client/xkb/xkb.h @@ -404,7 +404,7 @@ int vmod_find (char *vmodname); error_t vmod_add (char *vmodname); /* Initialize the list for keysyms to realmodifiers mappings. */ -void ksrm_init (); +void ksrm_init (void); /* Add keysym to realmodifier mapping. */ error_t ksrm_add (symbol ks, int rmod); -- cgit v1.2.3