aboutsummaryrefslogtreecommitdiff
path: root/console-client
diff options
context:
space:
mode:
Diffstat (limited to 'console-client')
-rw-r--r--console-client/pc-kbd.c4
-rw-r--r--console-client/timer.h2
-rw-r--r--console-client/xkb/compose.c2
-rw-r--r--console-client/xkb/lex.l4
-rw-r--r--console-client/xkb/xkbdata.c6
5 files changed, 9 insertions, 9 deletions
diff --git a/console-client/pc-kbd.c b/console-client/pc-kbd.c
index 85f3a5cd..afd3411e 100644
--- a/console-client/pc-kbd.c
+++ b/console-client/pc-kbd.c
@@ -588,7 +588,7 @@ enum scancode sc_set1_to_set2_x1[] =
};
static enum scancode
-gnumach_v1_input_next ()
+gnumach_v1_input_next (void)
{
kd_event data_buf;
#ifndef XKB_SUPPORT
@@ -671,7 +671,7 @@ update_leds (void)
}
static enum scancode
-input_next ()
+input_next (void)
{
enum scancode sc = 0;
unsigned char next;
diff --git a/console-client/timer.h b/console-client/timer.h
index 8a923ad0..f74f297d 100644
--- a/console-client/timer.h
+++ b/console-client/timer.h
@@ -55,7 +55,7 @@ int timer_remove (struct timer_list *timer);
void timer_change (struct timer_list *timer, long long expires);
static inline long long
-fetch_jiffies ()
+fetch_jiffies (void)
{
extern volatile struct mapped_time_value *timer_mapped_time;
extern long long timer_root_jiffies;
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");