diff options
| author | Andrew R. Reiter <arr@FreeBSD.org> | 2002-04-02 18:18:56 +0000 |
|---|---|---|
| committer | Andrew R. Reiter <arr@FreeBSD.org> | 2002-04-02 18:18:56 +0000 |
| commit | 5bacc16bb57c77089c4a24ee9076faede6b54269 (patch) | |
| tree | 09bf4d3fe8debbc17a1fa9f7fad4b7e7dfcfcda0 | |
| parent | 816663a0b3e0fc242461d58ffde923432824641a (diff) | |
Notes
| -rw-r--r-- | sys/sys/sx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/sx.h b/sys/sys/sx.h index 37fa0610c4a8..5b9545cb50d5 100644 --- a/sys/sys/sx.h +++ b/sys/sys/sx.h @@ -60,6 +60,7 @@ 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 void _sx_assert(struct sx *sx, int what, const char *file, int line); +#endif struct sx_args { struct sx *sa_sx; @@ -73,7 +74,6 @@ struct sx_args { }; \ SYSINIT(name##_sx_sysinit, SI_SUB_LOCK, SI_ORDER_MIDDLE, \ sx_sysinit, &name##_args) -#endif #define sx_slock(sx) _sx_slock((sx), LOCK_FILE, LOCK_LINE) #define sx_xlock(sx) _sx_xlock((sx), LOCK_FILE, LOCK_LINE) |
