aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2021-03-24 04:31:02 +0000
committerKyle Evans <kevans@FreeBSD.org>2021-03-24 04:39:43 +0000
commit64c01719e476923fe1b24e5a6c6012a677cd017f (patch)
tree3d0d8df5e8626c5d7fb7a0e58a7e40baa134c3df
parent50179c5ec7d09d7b02497caf95dca5d33f93bcd9 (diff)
downloadsrc-64c01719e476923fe1b24e5a6c6012a677cd017f.tar.gz
src-64c01719e476923fe1b24e5a6c6012a677cd017f.zip
libevent1: fix layout of duplicated RB_ENTRY() definition
3a509754ded1 removed the color field from our definition, but libevent1 has a copy of it off to the side to prevent event.h consumers from *needing* to pull in sys/queue.h and sys/tree.h. Update the event.h definition so that we don't accidentally end up with two different views of struct event. This appears to have no functional effect on anything in tree, but this came up in a local patch to port if_switch(4) and related components from OpenBSD. MFC after: 1 week
-rw-r--r--contrib/pf/libevent/event.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/contrib/pf/libevent/event.h b/contrib/pf/libevent/event.h
index 3f2032dd068e..0c19201611b5 100644
--- a/contrib/pf/libevent/event.h
+++ b/contrib/pf/libevent/event.h
@@ -73,7 +73,6 @@ struct { \
struct type *rbe_left; /* left element */ \
struct type *rbe_right; /* right element */ \
struct type *rbe_parent; /* parent element */ \
- int rbe_color; /* node color */ \
}
#endif /* !RB_ENTRY */