summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-03-14 04:30:34 +0000
committermillert <millert@openbsd.org>2002-03-14 04:30:34 +0000
commit3ea019f2f82cbf09c66ee1c9e3599882f2f4c726 (patch)
tree6ba131a0b6298519063de4876f0dfa42d0f6b93f
parentUse getpropstringA instead of getpropstring to fetch magma_prom property (diff)
downloadwireguard-openbsd-3ea019f2f82cbf09c66ee1c9e3599882f2f4c726.tar.xz
wireguard-openbsd-3ea019f2f82cbf09c66ee1c9e3599882f2f4c726.zip
Don't prototype pciide_machdep_compat_intr_establish() and
pciide_machdep_compat_intr_disestablish() if they are macros.
-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