summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2006-05-31 08:58:06 +0000
committerJason Wright <jason@cvs.openbsd.org>2006-05-31 08:58:06 +0000
commit0bd37f933654116688e027540d6d82278a8248bc (patch)
tree7ed8b6c83c6f784062ac904a34df58a3aaa743cb
parentac2a2df36259ce552732c8999cf541ad0878e356 (diff)
Damnit! no static functions in the kernel
-rw-r--r--sys/dev/pci/pci_map.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/pci_map.c b/sys/dev/pci/pci_map.c
index ecae4efdaea..aee590c3b27 100644
--- a/sys/dev/pci/pci_map.c
+++ b/sys/dev/pci/pci_map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pci_map.c,v 1.15 2006/04/07 01:07:41 brad Exp $ */
+/* $OpenBSD: pci_map.c,v 1.16 2006/05/31 08:58:05 jason Exp $ */
/* $NetBSD: pci_map.c,v 1.7 2000/05/10 16:58:42 thorpej Exp $ */
/*-
@@ -49,12 +49,12 @@
#include <dev/pci/pcivar.h>
-static int obsd_pci_io_find(pci_chipset_tag_t, pcitag_t, int, pcireg_t,
+int obsd_pci_io_find(pci_chipset_tag_t, pcitag_t, int, pcireg_t,
bus_addr_t *, bus_size_t *, int *);
-static int obsd_pci_mem_find(pci_chipset_tag_t, pcitag_t, int, pcireg_t,
+int obsd_pci_mem_find(pci_chipset_tag_t, pcitag_t, int, pcireg_t,
bus_addr_t *, bus_size_t *, int *);
-static int
+int
obsd_pci_io_find(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t type,
bus_addr_t *basep, bus_size_t *sizep, int *flagsp)
{
@@ -113,7 +113,7 @@ obsd_pci_io_find(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t type,
return (0);
}
-static int
+int
obsd_pci_mem_find(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t type,
bus_addr_t *basep, bus_size_t *sizep, int *flagsp)
{