diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-10-17 10:32:01 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-10-17 10:32:01 +0000 |
commit | b5b9e5143e75a188c4164b69c4d89a93cf07373e (patch) | |
tree | 9a00e0f31874500821bbf7e704fa1cc457280734 /sys | |
parent | 952b364cae30d7a4b1ce135b8b0276fbb79af1d3 (diff) |
Ansify non-ansified function definitions. No functional change.
ok nicm@
From shadchin.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pckbc/pms.c | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/sys/dev/pckbc/pms.c b/sys/dev/pckbc/pms.c index d5c88bc2f0d..a1949ab3002 100644 --- a/sys/dev/pckbc/pms.c +++ b/sys/dev/pckbc/pms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pms.c,v 1.9 2010/10/16 11:24:04 krw Exp $ */ +/* $OpenBSD: pms.c,v 1.10 2010/10/17 10:32:00 krw Exp $ */ /* $NetBSD: psm.c,v 1.11 2000/06/05 22:20:57 sommerfeld Exp $ */ /*- @@ -119,10 +119,7 @@ pms_setintellimode(struct pms_softc *sc) } int -pmsprobe(parent, match, aux) - struct device *parent; - void *match; - void *aux; +pmsprobe(struct device *parent, void *match, void *aux) { struct pckbc_attach_args *pa = aux; u_char cmd[1], resp[2]; @@ -160,9 +157,7 @@ pmsprobe(parent, match, aux) } void -pmsattach(parent, self, aux) - struct device *parent, *self; - void *aux; +pmsattach(struct device *parent, struct device *self, void *aux) { struct pms_softc *sc = (void *)self; struct pckbc_attach_args *pa = aux; @@ -282,8 +277,7 @@ pms_change_state(struct pms_softc *sc, int newstate) } int -pms_enable(v) - void *v; +pms_enable(void *v) { struct pms_softc *sc = v; @@ -291,8 +285,7 @@ pms_enable(v) } void -pms_disable(v) - void *v; +pms_disable(void *v) { struct pms_softc *sc = v; @@ -300,12 +293,7 @@ pms_disable(v) } int -pms_ioctl(v, cmd, data, flag, p) - void *v; - u_long cmd; - caddr_t data; - int flag; - struct proc *p; +pms_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p) { struct pms_softc *sc = v; u_char kbcmd[2]; @@ -344,9 +332,8 @@ pms_ioctl(v, cmd, data, flag, p) #define PS2RBUTMASK 0x02 #define PS2MBUTMASK 0x04 -void pmsinput(vsc, data) -void *vsc; -int data; +void +pmsinput(void *vsc, int data) { struct pms_softc *sc = vsc; signed char dz = 0; |