summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/hpibvar.h
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/hpibvar.h
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/arch/hp300/dev/hpibvar.h')
-rw-r--r--sys/arch/hp300/dev/hpibvar.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/sys/arch/hp300/dev/hpibvar.h b/sys/arch/hp300/dev/hpibvar.h
index e8f5336d8b0..220a55e2b3d 100644
--- a/sys/arch/hp300/dev/hpibvar.h
+++ b/sys/arch/hp300/dev/hpibvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hpibvar.h,v 1.6 1997/04/16 11:56:09 downsj Exp $ */
+/* $OpenBSD: hpibvar.h,v 1.7 2002/03/14 01:26:30 millert Exp $ */
/* $NetBSD: hpibvar.h,v 1.10 1997/03/31 07:34:25 scottr Exp $ */
/*
@@ -77,17 +77,17 @@ struct hpibbus_softc;
* is used by the indirect driver to call controller-specific functions.
*/
struct hpib_controller {
- void (*hpib_reset) __P((struct hpibbus_softc *));
- int (*hpib_send) __P((struct hpibbus_softc *,
- int, int, void *, int));
- int (*hpib_recv) __P((struct hpibbus_softc *,
- int, int, void *, int));
- int (*hpib_ppoll) __P((struct hpibbus_softc *));
- void (*hpib_ppwatch) __P((void *));
- void (*hpib_go) __P((struct hpibbus_softc *,
- int, int, void *, int, int, int));
- void (*hpib_done) __P((struct hpibbus_softc *));
- int (*hpib_intr) __P((void *));
+ void (*hpib_reset)(struct hpibbus_softc *);
+ int (*hpib_send)(struct hpibbus_softc *,
+ int, int, void *, int);
+ int (*hpib_recv)(struct hpibbus_softc *,
+ int, int, void *, int);
+ int (*hpib_ppoll)(struct hpibbus_softc *);
+ void (*hpib_ppwatch)(void *);
+ void (*hpib_go)(struct hpibbus_softc *,
+ int, int, void *, int, int, int);
+ void (*hpib_done)(struct hpibbus_softc *);
+ int (*hpib_intr)(void *);
};
/*
@@ -131,9 +131,9 @@ struct hpibqueue {
/*
* Callbacks used to start and stop the slave driver.
*/
- void (*hq_start) __P((void *));
- void (*hq_go) __P((void *));
- void (*hq_intr) __P((void *));
+ void (*hq_start)(void *);
+ void (*hq_go)(void *);
+ void (*hq_intr)(void *);
};
struct dmaqueue;
@@ -173,24 +173,24 @@ extern caddr_t internalhpib;
extern int hpibtimeout;
extern int hpibdmathresh;
-void hpibreset __P((int));
-int hpibsend __P((int, int, int, void *, int));
-int hpibrecv __P((int, int, int, void *, int));
-int hpibustart __P((int));
-void hpibstart __P((void *));
-void hpibgo __P((int, int, int, void *, int, int, int));
-void hpibdone __P((void *));
-int hpibpptest __P((int, int));
-void hpibppclear __P((int));
-void hpibawait __P((int));
-int hpibswait __P((int, int));
-int hpibid __P((int, int));
-
-int hpibreq __P((struct device *, struct hpibqueue *));
-void hpibfree __P((struct device *, struct hpibqueue *));
-int hpibbus_alloc __P((struct hpibbus_softc *, int, int));
-void hpibbus_free __P((struct hpibbus_softc *, int, int));
-
-int hpibintr __P((void *));
-int hpibdevprint __P((void *, const char *));
+void hpibreset(int);
+int hpibsend(int, int, int, void *, int);
+int hpibrecv(int, int, int, void *, int);
+int hpibustart(int);
+void hpibstart(void *);
+void hpibgo(int, int, int, void *, int, int, int);
+void hpibdone(void *);
+int hpibpptest(int, int);
+void hpibppclear(int);
+void hpibawait(int);
+int hpibswait(int, int);
+int hpibid(int, int);
+
+int hpibreq(struct device *, struct hpibqueue *);
+void hpibfree(struct device *, struct hpibqueue *);
+int hpibbus_alloc(struct hpibbus_softc *, int, int);
+void hpibbus_free(struct hpibbus_softc *, int, int);
+
+int hpibintr(void *);
+int hpibdevprint(void *, const char *);
#endif