mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
The _sx_assert() prototype should exist if either of INVARIANTS or
INVARIANT_SUPPORT is defined so you can build a kernel with INVARIANT_SUPPORT, but build a module with just INVARIANTS on. MFC after: 3 days Reported by: kuriyama
This commit is contained in:
parent
11936bfa24
commit
fa4a2ffd58
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ void _sx_sunlock(struct sx *sx, const char *file, int line);
|
|||
void _sx_xunlock(struct sx *sx, const char *file, int line);
|
||||
int _sx_try_upgrade(struct sx *sx, const char *file, int line);
|
||||
void _sx_downgrade(struct sx *sx, const char *file, int line);
|
||||
#ifdef INVARIANT_SUPPORT
|
||||
#if defined(INVARIANTS) || defined(INVARIANT_SUPPORT)
|
||||
void _sx_assert(struct sx *sx, int what, const char *file, int line);
|
||||
#endif
|
||||
#ifdef DDB
|
||||
|
|
|
|||
Loading…
Reference in a new issue