diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-10-05 14:33:18 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-10-05 14:33:18 +0000 |
commit | 65f9f78468ffdbfeceffca7e3904d4e22f25ba37 (patch) | |
tree | 6a95687b36cd0264b9ce92840024d4312f9ab6f0 /sys/arch/sgi/dev | |
parent | 28b9af0b1cea78a1a0e68525e0d95138e5e3869d (diff) |
Get prototypes through cons_decl(), so that they are always right.
Diffstat (limited to 'sys/arch/sgi/dev')
-rw-r--r-- | sys/arch/sgi/dev/wscons_machdep.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/sys/arch/sgi/dev/wscons_machdep.c b/sys/arch/sgi/dev/wscons_machdep.c index 25a181f9a67..102b2c50fbd 100644 --- a/sys/arch/sgi/dev/wscons_machdep.c +++ b/sys/arch/sgi/dev/wscons_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wscons_machdep.c,v 1.1 2004/08/06 21:12:18 pefo Exp $ */ +/* $OpenBSD: wscons_machdep.c,v 1.2 2004/10/05 14:33:17 miod Exp $ */ /* * Copyright (c) 2001 Aaron Campbell @@ -55,12 +55,7 @@ #include <dev/wscons/wsconsio.h> #include <dev/usb/ukbdvar.h> -void wscnprobe(struct consdev *); -void wscninit(struct consdev *); -void wscnputc(dev_t, char); -int wscngetc(dev_t); -void wscnpollc(dev_t, int); - +cons_decl(ws); void wscnprobe(cp) @@ -105,9 +100,9 @@ static int initted; void wscnputc(dev, i) dev_t dev; - char i; + int i; { - wsdisplay_cnputc(dev, (int)i); + wsdisplay_cnputc(dev, i); } int |