subr_unit.c: make userspace tests buildable
by defining a placeholder for UNR_NO_MTX Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
709783373e
commit
6fe78ad434
@ -143,6 +143,8 @@ _Malloc(size_t foo, int line)
|
||||
|
||||
struct unrhdr;
|
||||
|
||||
#define UNR_NO_MTX ((void *)(uintptr_t)-1)
|
||||
|
||||
struct mtx {
|
||||
int state;
|
||||
} unitmtx;
|
||||
|
Loading…
x
Reference in New Issue
Block a user