aboutsummaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
Diffstat (limited to 'console-client')
-rw-r--r--console-client/xkb/parser.y6
-rw-r--r--console-client/xkb/xkb.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/console-client/xkb/parser.y b/console-client/xkb/parser.y
index 8f265681..c8ba404e 100644
--- a/console-client/xkb/parser.y
+++ b/console-client/xkb/parser.y
@@ -27,7 +27,7 @@ static error_t include_section (char *incl, int sectionsymbol, char *dirname,
mergemode);
static error_t include_sections (char *incl, int sectionsymbol, char *dirname,
mergemode);
-void close_include ();
+void close_include (void);
static void skipsection (void);
static error_t set_default_action (struct xkb_action *, struct xkb_action **);
static void key_set_keysym (struct key *key, group_t group, int level,
@@ -1234,8 +1234,8 @@ include_section (char *incl, int sectionsymbol, char *dirname,
mergemode new_mm)
{
void include_file (FILE *, mergemode, char *);
- int scanner_get_current_location ();
- const char* scanner_get_current_file ();
+ int scanner_get_current_location (void);
+ const char* scanner_get_current_file (void);
char *filename;
char *sectionname = NULL;
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);