summaryrefslogtreecommitdiff
path: root/sys/dev/wscons/wsdisplay.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-06-23 16:31:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-06-23 16:31:17 +0000
commitd25e4532915241456e3e21357fe2bd065e55b261 (patch)
tree135932ba6aab1d60bf30f8892ec7052055500789 /sys/dev/wscons/wsdisplay.c
parent2d3d5f1510c111004b07bf1ef0c146e1b04bcb7e (diff)
a bit more ansi; ok tedu
Diffstat (limited to 'sys/dev/wscons/wsdisplay.c')
-rw-r--r--sys/dev/wscons/wsdisplay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/wscons/wsdisplay.c b/sys/dev/wscons/wsdisplay.c
index 7539cda23e7..70b169b2494 100644
--- a/sys/dev/wscons/wsdisplay.c
+++ b/sys/dev/wscons/wsdisplay.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsdisplay.c,v 1.103 2010/11/20 20:52:10 miod Exp $ */
+/* $OpenBSD: wsdisplay.c,v 1.104 2011/06/23 16:31:16 deraadt Exp $ */
/* $NetBSD: wsdisplay.c,v 1.82 2005/02/27 00:27:52 perry Exp $ */
/*
@@ -2167,7 +2167,7 @@ wsdisplay_set_cons_kbd(int (*get)(dev_t), void (*poll)(dev_t, int),
}
void
-wsdisplay_unset_cons_kbd()
+wsdisplay_unset_cons_kbd(void)
{
wsdisplay_cons.cn_getc = wsdisplay_getc_dummy;
wsdisplay_cons.cn_bell = NULL;
@@ -2178,7 +2178,7 @@ wsdisplay_unset_cons_kbd()
* Switch the console display to its first screen.
*/
void
-wsdisplay_switchtoconsole()
+wsdisplay_switchtoconsole(void)
{
struct wsdisplay_softc *sc;
struct wsscreen *scr;