From 65f9f78468ffdbfeceffca7e3904d4e22f25ba37 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Tue, 5 Oct 2004 14:33:18 +0000 Subject: Get prototypes through cons_decl(), so that they are always right. --- sys/arch/sgi/dev/wscons_machdep.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'sys/arch/sgi/dev') 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 #include -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 -- cgit v1.2.3