aboutsummaryrefslogtreecommitdiff
path: root/console-client/xkb
diff options
context:
space:
mode:
Diffstat (limited to 'console-client/xkb')
-rw-r--r--console-client/xkb/compose.c2
-rw-r--r--console-client/xkb/lex.l4
-rw-r--r--console-client/xkb/xkbdata.c6
3 files changed, 6 insertions, 6 deletions
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;
diff --git a/console-client/xkb/lex.l b/console-client/xkb/lex.l
index d9198981..ba805f0e 100644
--- a/console-client/xkb/lex.l
+++ b/console-client/xkb/lex.l
@@ -374,13 +374,13 @@ overlay2 { yylval.val = 2; return OVERLAY; }
}
int
- scanner_get_current_location()
+ scanner_get_current_location(void)
{
return lineno;
}
const char*
- scanner_get_current_file()
+ scanner_get_current_file(void)
{
return filename;
}
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");