HomeFreeBSD

libevent1: fix layout of duplicated RB_ENTRY() definition

Description

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.

(cherry picked from commit 64c01719e476923fe1b24e5a6c6012a677cd017f)

Details

Provenance
kevansAuthored on Mar 24 2021, 4:31 AM
Parents
rG223d6caabd2e: init: use explicit_bzero() for clearing passwords
Branches
Unknown
Tags
Unknown