diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/arch/vax/dec | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/arch/vax/dec')
-rw-r--r-- | sys/arch/vax/dec/dzkbd.c | 16 | ||||
-rw-r--r-- | sys/arch/vax/dec/dzms.c | 14 | ||||
-rw-r--r-- | sys/arch/vax/dec/lk201.h | 4 | ||||
-rw-r--r-- | sys/arch/vax/dec/lk201var.h | 12 |
4 files changed, 23 insertions, 23 deletions
diff --git a/sys/arch/vax/dec/dzkbd.c b/sys/arch/vax/dec/dzkbd.c index 2670dcc39fd..29767ccd802 100644 --- a/sys/arch/vax/dec/dzkbd.c +++ b/sys/arch/vax/dec/dzkbd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dzkbd.c,v 1.2 2002/01/10 00:11:14 nordin Exp $ */ +/* $OpenBSD: dzkbd.c,v 1.3 2002/03/14 01:26:47 millert Exp $ */ /* $NetBSD: dzkbd.c,v 1.1 2000/12/02 17:03:55 ragge Exp $ */ /* @@ -89,10 +89,10 @@ struct dzkbd_softc { struct device *sc_wskbddev; }; -static int dzkbd_input __P((void *, int)); +static int dzkbd_input(void *, int); -static int dzkbd_match __P((struct device *, struct cfdata *, void *)); -static void dzkbd_attach __P((struct device *, struct device *, void *)); +static int dzkbd_match(struct device *, struct cfdata *, void *); +static void dzkbd_attach(struct device *, struct device *, void *); struct cfattach dzkbd_ca = { sizeof(struct dzkbd_softc), (cfmatch_t)dzkbd_match, dzkbd_attach, @@ -102,9 +102,9 @@ struct cfdriver lkkbd_cd = { NULL, "lkkbd", DV_DULL }; -static int dzkbd_enable __P((void *, int)); -static void dzkbd_set_leds __P((void *, int)); -static int dzkbd_ioctl __P((void *, u_long, caddr_t, int, struct proc *)); +static int dzkbd_enable(void *, int); +static void dzkbd_set_leds(void *, int); +static int dzkbd_ioctl(void *, u_long, caddr_t, int, struct proc *); const struct wskbd_accessops dzkbd_accessops = { dzkbd_enable, @@ -120,7 +120,7 @@ const struct wskbd_consops dzkbd_consops = { dzkbd_cnpollc, }; -static int dzkbd_sendchar __P((void *, u_char)); +static int dzkbd_sendchar(void *, u_char); const struct wskbd_mapdata dzkbd_keymapdata = { zskbd_keydesctab, diff --git a/sys/arch/vax/dec/dzms.c b/sys/arch/vax/dec/dzms.c index 60abd4f0901..52680d026ef 100644 --- a/sys/arch/vax/dec/dzms.c +++ b/sys/arch/vax/dec/dzms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dzms.c,v 1.1 2001/05/16 22:15:17 hugh Exp $ */ +/* $OpenBSD: dzms.c,v 1.2 2002/03/14 01:26:47 millert Exp $ */ /* $NetBSD: dzms.c,v 1.1 2000/12/02 17:03:55 ragge Exp $ */ /* @@ -81,9 +81,9 @@ struct dzms_softc { /* driver status information */ struct device *sc_wsmousedev; }; -static int dzms_match __P((struct device *, struct cfdata *, void *)); -static void dzms_attach __P((struct device *, struct device *, void *)); -static int dzms_input __P((void *, int)); +static int dzms_match(struct device *, struct cfdata *, void *); +static void dzms_attach(struct device *, struct device *, void *); +static int dzms_input(void *, int); struct cfattach dzms_ca = { sizeof(struct dzms_softc), (cfmatch_t)dzms_match, dzms_attach, @@ -93,9 +93,9 @@ struct cfdriver lkms_cd = { NULL, "lkms", DV_DULL }; -static int dzms_enable __P((void *)); -static int dzms_ioctl __P((void *, u_long, caddr_t, int, struct proc *)); -static void dzms_disable __P((void *)); +static int dzms_enable(void *); +static int dzms_ioctl(void *, u_long, caddr_t, int, struct proc *); +static void dzms_disable(void *); const struct wsmouse_accessops dzms_accessops = { dzms_enable, diff --git a/sys/arch/vax/dec/lk201.h b/sys/arch/vax/dec/lk201.h index ce901212c8e..edec87498b9 100644 --- a/sys/arch/vax/dec/lk201.h +++ b/sys/arch/vax/dec/lk201.h @@ -1,4 +1,4 @@ -/* $OpenBSD: lk201.h,v 1.1 2001/05/16 22:15:17 hugh Exp $ */ +/* $OpenBSD: lk201.h,v 1.2 2002/03/14 01:26:47 millert Exp $ */ /* $NetBSD: lk201.h,v 1.7 1999/03/19 18:34:01 ad Exp $ */ @@ -141,6 +141,6 @@ #define LEFT_BUTTON 0x04 #ifdef _KERNEL -extern int LKgetc __P((dev_t dev)); +extern int LKgetc(dev_t dev); extern void lkdivert __P ((int (*getc_fn)(dev_t dev), dev_t dev)); #endif diff --git a/sys/arch/vax/dec/lk201var.h b/sys/arch/vax/dec/lk201var.h index 1bb10ca2b09..e623e9e709b 100644 --- a/sys/arch/vax/dec/lk201var.h +++ b/sys/arch/vax/dec/lk201var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: lk201var.h,v 1.1 2001/05/16 22:15:17 hugh Exp $ */ +/* $OpenBSD: lk201var.h,v 1.2 2002/03/14 01:26:47 millert Exp $ */ /* $NetBSD: lk201var.h,v 1.2 1998/10/22 17:55:20 drochner Exp $ */ /* @@ -34,7 +34,7 @@ */ struct lk201_attachment { - int (*sendchar) __P((void *, u_char)); + int (*sendchar)(void *, u_char); void *cookie; }; @@ -46,7 +46,7 @@ struct lk201_state { int leds_state; }; -int lk201_init __P((struct lk201_state *)); -int lk201_decode __P((struct lk201_state *, int, u_int *, int *)); -void lk201_bell __P((struct lk201_state *, struct wskbd_bell_data *)); -void lk201_set_leds __P((struct lk201_state *, int)); +int lk201_init(struct lk201_state *); +int lk201_decode(struct lk201_state *, int, u_int *, int *); +void lk201_bell(struct lk201_state *, struct wskbd_bell_data *); +void lk201_set_leds(struct lk201_state *, int); |