From 11a02c361f3daea90cb778a92dd8bb93d65d4e5c Mon Sep 17 00:00:00 2001 From: mpi Date: Tue, 6 Jun 2017 13:19:29 +0000 Subject: [PATCH] Update stubs to work with radix tree. --- regress/sys/net/rtable/kern_compat.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/regress/sys/net/rtable/kern_compat.h b/regress/sys/net/rtable/kern_compat.h index f30ab22ea28..e1275c38050 100644 --- a/regress/sys/net/rtable/kern_compat.h +++ b/regress/sys/net/rtable/kern_compat.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_compat.h,v 1.5 2016/09/21 07:13:02 mpi Exp $ */ +/* $OpenBSD: kern_compat.h,v 1.6 2017/06/06 13:19:29 mpi Exp $ */ #ifndef _KERN_COMPAT_H_ #define _KERN_COMPAT_H_ @@ -8,6 +8,7 @@ #include #include #include +#include #include #include @@ -56,8 +57,8 @@ struct pool { #define rtref(_rt) ((_rt)->rt_refcnt++) #define rtfree(_rt) (assert(--(_rt)->rt_refcnt >= 0)) -#define mtx_enter(_mtx) /* nothing */ -#define mtx_leave(_mtx) /* nothing */ +#define __mtx_enter(_mtx) /* nothing */ +#define __mtx_leave(_mtx) /* nothing */ #define task_add(_tq, _t) ((_t)->t_func((_t)->t_arg)) -- 2.20.1