summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-12-14 07:46:28 +0000
committerphk <phk@FreeBSD.org>2004-12-14 07:46:28 +0000
commita410ae531e23ac86b3e921be8712e2047ab25f06 (patch)
tree98f3e1c449784afdffc804c159cd09e828cb4caf /sys/dev/usb
parente622b9bcba58c68642dfd3b9c7654dce32990367 (diff)
downloadFreeBSD-src-a410ae531e23ac86b3e921be8712e2047ab25f06.zip
FreeBSD-src-a410ae531e23ac86b3e921be8712e2047ab25f06.tar.gz
Make LINT compile.
When leaving functions for ddb use don't make them static: it makes gcc think they are unused. Shouldn't this be in #ifdef DDB anyway ?
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/ehci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/ehci.c b/sys/dev/usb/ehci.c
index c610162..25b1135 100644
--- a/sys/dev/usb/ehci.c
+++ b/sys/dev/usb/ehci.c
@@ -240,7 +240,7 @@ 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);
+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 *);
OpenPOWER on IntegriCloud