summaryrefslogtreecommitdiff
path: root/regress/sys/net/rtable/srp_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/net/rtable/srp_compat.h')
-rw-r--r--regress/sys/net/rtable/srp_compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/sys/net/rtable/srp_compat.h b/regress/sys/net/rtable/srp_compat.h
index 3059ac0de03..68de566b326 100644
--- a/regress/sys/net/rtable/srp_compat.h
+++ b/regress/sys/net/rtable/srp_compat.h
@@ -48,7 +48,9 @@ srp_swap_locked(struct srp *srp, void *nv)
*/
#define SRPL_INIT(_sl) SLIST_INIT(_sl)
+#undef SRPL_HEAD
#define SRPL_HEAD(name, entry) SLIST_HEAD(name, entry)
+#undef SRPL_ENTRY
#define SRPL_ENTRY(type) SLIST_ENTRY(type)
#define SRPL_FIRST(_sr, _sl) SLIST_FIRST(_sl);