From ca0f57a957cbb36a6781ba0fa5d6a55ece0b2605 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 14 Mar 2002 04:30:35 +0000 Subject: Don't prototype pciide_machdep_compat_intr_establish() and pciide_machdep_compat_intr_disestablish() if they are macros. --- sys/dev/pci/pciidevar.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/dev/pci') 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 -- cgit v1.2.3