diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-06-11 21:00:49 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2006-06-11 21:00:49 +0000 |
commit | e972f035edfaad286e09ac28d470b94f02522cef (patch) | |
tree | 46aed5864244e837a12fb87a9e03fafdfb8fdac5 /sys/arch | |
parent | d05b18fc4c9f85049a98fd9b3a898fcfb4d8ecdb (diff) |
Ansify. No binary change on amd64 and i386, not yet built on sgi. ok miod@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/wscons_machdep.c | 19 | ||||
-rw-r--r-- | sys/arch/i386/i386/wscons_machdep.c | 19 | ||||
-rw-r--r-- | sys/arch/sgi/dev/wscons_machdep.c | 19 |
3 files changed, 18 insertions, 39 deletions
diff --git a/sys/arch/amd64/amd64/wscons_machdep.c b/sys/arch/amd64/amd64/wscons_machdep.c index d835bcb0435..df190133d93 100644 --- a/sys/arch/amd64/amd64/wscons_machdep.c +++ b/sys/arch/amd64/amd64/wscons_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wscons_machdep.c,v 1.4 2005/12/09 14:39:26 jsg Exp $ */ +/* $OpenBSD: wscons_machdep.c,v 1.5 2006/06/11 21:00:48 matthieu Exp $ */ /* * Copyright (c) 2001 Aaron Campbell @@ -78,8 +78,7 @@ cons_decl(ws); void -wscnprobe(cp) - struct consdev *cp; +wscnprobe(struct consdev *cp) { int maj; @@ -99,8 +98,7 @@ wscnprobe(cp) } void -wscninit(cp) - struct consdev *cp; +wscninit(struct consdev *cp) { static int initted; @@ -137,24 +135,19 @@ dokbd: } void -wscnputc(dev, i) - dev_t dev; - int i; +wscnputc(dev_t dev, int i) { wsdisplay_cnputc(dev, i); } int -wscngetc(dev) - dev_t dev; +wscngetc(dev_t dev) { return (wskbd_cngetc(dev)); } void -wscnpollc(dev, on) - dev_t dev; - int on; +wscnpollc(dev_t dev, int on) { wskbd_cnpollc(dev, on); } diff --git a/sys/arch/i386/i386/wscons_machdep.c b/sys/arch/i386/i386/wscons_machdep.c index 32e992342a7..12119413052 100644 --- a/sys/arch/i386/i386/wscons_machdep.c +++ b/sys/arch/i386/i386/wscons_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wscons_machdep.c,v 1.12 2004/11/02 21:20:59 miod Exp $ */ +/* $OpenBSD: wscons_machdep.c,v 1.13 2006/06/11 21:00:48 matthieu Exp $ */ /* * Copyright (c) 2001 Aaron Campbell @@ -78,8 +78,7 @@ cons_decl(ws); void -wscnprobe(cp) - struct consdev *cp; +wscnprobe(struct consdev *cp) { int maj; @@ -99,8 +98,7 @@ wscnprobe(cp) } void -wscninit(cp) - struct consdev *cp; +wscninit(struct consdev *cp) { static int initted; @@ -137,24 +135,19 @@ dokbd: } void -wscnputc(dev, i) - dev_t dev; - int i; +wscnputc(dev_t dev, int i) { wsdisplay_cnputc(dev, i); } int -wscngetc(dev) - dev_t dev; +wscngetc(dev_t dev) { return (wskbd_cngetc(dev)); } void -wscnpollc(dev, on) - dev_t dev; - int on; +wscnpollc(dev_t dev, int on) { wskbd_cnpollc(dev, on); } diff --git a/sys/arch/sgi/dev/wscons_machdep.c b/sys/arch/sgi/dev/wscons_machdep.c index efc0047a108..e33b75bdcd4 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.3 2005/12/09 14:39:26 jsg Exp $ */ +/* $OpenBSD: wscons_machdep.c,v 1.4 2006/06/11 21:00:48 matthieu Exp $ */ /* * Copyright (c) 2001 Aaron Campbell @@ -53,8 +53,7 @@ cons_decl(ws); void -wscnprobe(cp) - struct consdev *cp; +wscnprobe(struct consdev *cp) { int maj; @@ -75,8 +74,7 @@ wscnprobe(cp) } void -wscninit(cp) - struct consdev *cp; +wscninit(struct consdev *cp) { static int initted; @@ -93,16 +91,13 @@ static int initted; } void -wscnputc(dev, i) - dev_t dev; - int i; +wscnputc(dev_t dev, int i) { wsdisplay_cnputc(dev, i); } int -wscngetc(dev) - dev_t dev; +wscngetc(dev_t dev) { int c; @@ -114,9 +109,7 @@ wscngetc(dev) } void -wscnpollc(dev, on) - dev_t dev; - int on; +wscnpollc(dev_t dev, int on) { wskbd_cnpollc(dev, on); } |