summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/hpib.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 01:27:20 +0000
commit8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch)
treeac9a52bace179e17769651fb9f805070d78abe5f /sys/arch/hp300/dev/hpib.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/arch/hp300/dev/hpib.c')
-rw-r--r--sys/arch/hp300/dev/hpib.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/arch/hp300/dev/hpib.c b/sys/arch/hp300/dev/hpib.c
index 234318413ca..1c0f75f8ff5 100644
--- a/sys/arch/hp300/dev/hpib.c
+++ b/sys/arch/hp300/dev/hpib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hpib.c,v 1.8 1997/07/06 08:01:53 downsj Exp $ */
+/* $OpenBSD: hpib.c,v 1.9 2002/03/14 01:26:30 millert Exp $ */
/* $NetBSD: hpib.c,v 1.16 1997/04/27 20:58:57 thorpej Exp $ */
/*
@@ -54,8 +54,8 @@
#include <machine/cpu.h>
#include <machine/hp300spu.h>
-int hpibbusmatch __P((struct device *, void *, void *));
-void hpibbusattach __P((struct device *, struct device *, void *));
+int hpibbusmatch(struct device *, void *, void *);
+void hpibbusattach(struct device *, struct device *, void *);
struct cfattach hpibbus_ca = {
sizeof(struct hpibbus_softc), hpibbusmatch, hpibbusattach
@@ -65,15 +65,15 @@ struct cfdriver hpibbus_cd = {
NULL, "hpibbus", DV_DULL
};
-void hpibbus_attach_children __P((struct hpibbus_softc *));
-int hpibbussearch __P((struct device *, void *, void *));
-int hpibbusprint __P((void *, const char *));
+void hpibbus_attach_children(struct hpibbus_softc *);
+int hpibbussearch(struct device *, void *, void *);
+int hpibbusprint(void *, const char *);
-int hpibbus_alloc __P((struct hpibbus_softc *, int, int));
-void hpibbus_free __P((struct hpibbus_softc *, int, int));
+int hpibbus_alloc(struct hpibbus_softc *, int, int);
+void hpibbus_free(struct hpibbus_softc *, int, int);
-void hpibstart __P((void *));
-void hpibdone __P((void *));
+void hpibstart(void *);
+void hpibdone(void *);
int hpibtimeout = 100000; /* # of status tests before we give up */
int hpibidtimeout = 10000; /* # of status tests for hpibid() calls */
@@ -363,7 +363,7 @@ hpibswait(unit, slave)
{
struct hpibbus_softc *sc = hpibbus_cd.cd_devs[unit];
int timo = hpibtimeout;
- int mask, (*ppoll) __P((struct hpibbus_softc *));
+ int mask, (*ppoll)(struct hpibbus_softc *);
ppoll = sc->sc_ops->hpib_ppoll;
mask = 0x80 >> slave;