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:
Konstantin Belousov 2022-04-28 03:00:14 +03:00
parent 709783373e
commit 6fe78ad434

View File

@ -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;