summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/pci/pci_eb164.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/alpha/pci/pci_eb164.c
parent7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff)
First round of __P removal in sys
Diffstat (limited to 'sys/arch/alpha/pci/pci_eb164.c')
-rw-r--r--sys/arch/alpha/pci/pci_eb164.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/arch/alpha/pci/pci_eb164.c b/sys/arch/alpha/pci/pci_eb164.c
index f77641ac0ab..6b49fb3de66 100644
--- a/sys/arch/alpha/pci/pci_eb164.c
+++ b/sys/arch/alpha/pci/pci_eb164.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_eb164.c,v 1.12 2001/12/14 00:44:59 nate Exp $ */
+/* $OpenBSD: pci_eb164.c,v 1.13 2002/03/14 01:26:27 millert Exp $ */
/* $NetBSD: pci_eb164.c,v 1.27 2000/06/06 00:50:15 thorpej Exp $ */
/*-
@@ -94,18 +94,18 @@
#include <alpha/pci/siovar.h>
#endif
-int dec_eb164_intr_map __P((void *, pcitag_t, int, int,
- pci_intr_handle_t *));
-const char *dec_eb164_intr_string __P((void *, pci_intr_handle_t));
-int dec_eb164_intr_line __P((void *, pci_intr_handle_t));
-const struct evcnt *dec_eb164_intr_evcnt __P((void *, pci_intr_handle_t));
+int dec_eb164_intr_map(void *, pcitag_t, int, int,
+ pci_intr_handle_t *);
+const char *dec_eb164_intr_string(void *, pci_intr_handle_t);
+int dec_eb164_intr_line(void *, pci_intr_handle_t);
+const struct evcnt *dec_eb164_intr_evcnt(void *, pci_intr_handle_t);
void *dec_eb164_intr_establish __P((void *, pci_intr_handle_t,
int, int (*func)(void *), void *, char *));
-void dec_eb164_intr_disestablish __P((void *, void *));
+void dec_eb164_intr_disestablish(void *, void *);
void *dec_eb164_pciide_compat_intr_establish __P((void *, struct device *,
struct pci_attach_args *, int, int (*)(void *), void *));
-void dec_eb164_pciide_compat_intr_disestablish __P((void *, void *));
+void dec_eb164_pciide_compat_intr_disestablish(void *, void *);
#define EB164_SIO_IRQ 4
#define EB164_MAX_IRQ 24
@@ -116,9 +116,9 @@ struct alpha_shared_intr *eb164_pci_intr;
bus_space_tag_t eb164_intrgate_iot;
bus_space_handle_t eb164_intrgate_ioh;
-void eb164_iointr __P((void *framep, unsigned long vec));
-extern void eb164_intr_enable __P((int irq)); /* pci_eb164_intr.S */
-extern void eb164_intr_disable __P((int irq)); /* pci_eb164_intr.S */
+void eb164_iointr(void *framep, unsigned long vec);
+extern void eb164_intr_enable(int irq); /* pci_eb164_intr.S */
+extern void eb164_intr_disable(int irq); /* pci_eb164_intr.S */
void
pci_eb164_pickintr(ccp)
@@ -270,7 +270,7 @@ dec_eb164_intr_establish(ccv, ih, level, func, arg, name)
void *ccv, *arg;
pci_intr_handle_t ih;
int level;
- int (*func) __P((void *));
+ int (*func)(void *);
char *name;
{
#if 0
@@ -319,7 +319,7 @@ dec_eb164_pciide_compat_intr_establish(v, dev, pa, chan, func, arg)
struct device *dev;
struct pci_attach_args *pa;
int chan;
- int (*func) __P((void *));
+ int (*func)(void *);
void *arg;
{
pci_chipset_tag_t pc = pa->pa_pc;