diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2024-11-05 03:40:02 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2024-11-05 04:23:49 +0000 |
| commit | 55c854cf0c6aacb60ed88c02522377b1b3fa134d (patch) | |
| tree | c29ef04c00a5292a90945461ab0320b7effb8334 | |
| parent | 043999b1ae49635be530badeb6c5d50002e622f4 (diff) | |
| -rw-r--r-- | sys/sys/refcount.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/sys/refcount.h b/sys/sys/refcount.h index 212e8e516271..44588fe3c812 100644 --- a/sys/sys/refcount.h +++ b/sys/sys/refcount.h @@ -30,11 +30,9 @@ #include <machine/atomic.h> -#if defined(_KERNEL) || defined(_STANDALONE) #include <sys/systm.h> -#else +#if !defined(_KERNEL) && !defined(_STANDALONE) #include <stdbool.h> -#define KASSERT(exp, msg) /* */ #endif #define REFCOUNT_SATURATED(val) (((val) & (1U << 31)) != 0) |
