mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
remove "extern int cold" from SPLUSBCHECK - it causes a heap of warnings.
This commit is contained in:
parent
10a1190c8b
commit
62797de451
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=56479
@ -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); \
|
||||
|
Loading…
Reference in New Issue
Block a user