summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-01-23 19:26:16 +0000
committerpeter <peter@FreeBSD.org>2000-01-23 19:26:16 +0000
commit6588369b693eb55da5e5d8cce7484920e822a87f (patch)
tree2e76b493778c872d7b39394d0baf1918f2d24961 /sys
parent71c7f2956d44c57d9b4051f8bd5bf351ea96a035 (diff)
downloadFreeBSD-src-6588369b693eb55da5e5d8cce7484920e822a87f.zip
FreeBSD-src-6588369b693eb55da5e5d8cce7484920e822a87f.tar.gz
remove "extern int cold" from SPLUSBCHECK - it causes a heap of warnings.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/usbdivar.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/usb/usbdivar.h b/sys/dev/usb/usbdivar.h
index 6c8468d..ce26bf5 100644
--- a/sys/dev/usb/usbdivar.h
+++ b/sys/dev/usb/usbdivar.h
@@ -239,7 +239,6 @@ void usb_needs_explore __P((usbd_bus_handle));
#ifdef DIAGNOSTIC
#define SPLUSBCHECK \
do { int _s = splusb(), _su = splusb(); \
- extern int cold; \
if (!cold && _s != _su) printf("SPLUSBCHECK failed 0x%x!=0x%x, %s:%d\n", \
_s, _su, __FILE__, __LINE__); \
splx(_s); \
OpenPOWER on IntegriCloud