From d96345ff4775adb9812a384c8bc6a8a16076d862 Mon Sep 17 00:00:00 2001 From: iedowse Date: Wed, 3 Nov 2004 15:12:18 +0000 Subject: The ehci_dump() function shouldn't be declared static, as it is just a convenience function to be called from debuggers that gets compiled in when EHCI_DEBUG is defined. Move its declaration to make this more obvious. --- sys/dev/usb/ehci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c index c5bb5bf..a417828 100644 --- a/sys/dev/usb/ehci.c +++ b/sys/dev/usb/ehci.c @@ -245,7 +245,6 @@ Static void ehci_abort_xfer(usbd_xfer_handle, usbd_status); #ifdef EHCI_DEBUG Static void ehci_dump_regs(ehci_softc_t *); -Static void ehci_dump(void); Static ehci_softc_t *theehci; Static void ehci_dump_link(ehci_link_t, int); Static void ehci_dump_sqtds(ehci_soft_qtd_t *); @@ -1240,6 +1239,7 @@ ehci_dump_regs(ehci_softc_t *sc) * Unused function - this is meant to be called from a kernel * debugger. */ +void ehci_dump(void); void ehci_dump() { -- cgit v1.1