summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 04:30:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-03-14 04:30:35 +0000
commitca0f57a957cbb36a6781ba0fa5d6a55ece0b2605 (patch)
tree8e4f8c87314fa230d53d83fd63bae4bc24b07467 /sys
parent76c73236d1053db23e8fd3e2fa035d46b6910b87 (diff)
Don't prototype pciide_machdep_compat_intr_establish() and
pciide_machdep_compat_intr_disestablish() if they are macros.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pciidevar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/pciidevar.h b/sys/dev/pci/pciidevar.h
index 4c1bdd225aa..a4b3d086c33 100644
--- a/sys/dev/pci/pciidevar.h
+++ b/sys/dev/pci/pciidevar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciidevar.h,v 1.6 2002/03/14 03:16:06 millert Exp $ */
+/* $OpenBSD: pciidevar.h,v 1.7 2002/03/14 04:30:34 millert Exp $ */
/* $NetBSD: pciidevar.h,v 1.6 2001/01/12 16:04:00 bouyer Exp $ */
/*
@@ -44,7 +44,9 @@ struct device;
*/
/* Attach compat interrupt handler, returning handle or NULL if failed. */
+#if !defined(pciide_machdep_compat_intr_establish)
void *pciide_machdep_compat_intr_establish(struct device *,
struct pci_attach_args *, int, int (*)(void *), void *);
void pciide_machdep_compat_intr_disestablish(pci_chipset_tag_t pc,
void *);
+#endif