diff options
author | iedowse <iedowse@FreeBSD.org> | 2004-11-03 15:12:18 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2004-11-03 15:12:18 +0000 |
commit | d96345ff4775adb9812a384c8bc6a8a16076d862 (patch) | |
tree | 05b211dcbfb62ebfd2c30f015d06dfee6aa08869 /sys | |
parent | 6b5c577ba3a0f483e6239f0ca49241199ca98862 (diff) | |
download | FreeBSD-src-d96345ff4775adb9812a384c8bc6a8a16076d862.zip FreeBSD-src-d96345ff4775adb9812a384c8bc6a8a16076d862.tar.gz |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/usb/ehci.c | 2 |
1 files changed, 1 insertions, 1 deletions
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() { |