]> The Tcpdump Group git mirrors - libpcap/commit
Remove the unused CHASE_CHAIN props.
authorDenis Ovsienko <[email protected]>
Tue, 14 Jun 2022 19:35:41 +0000 (20:35 +0100)
committerDenis Ovsienko <[email protected]>
Tue, 14 Jun 2022 20:35:54 +0000 (21:35 +0100)
commite6129d599345f9fc9bd2352fda902322d7c24b82
tree8f55d44fa2ad7ceee6a5d1e41eaee845e0f26eb7
parent0d5a888d19214661c472302ba31ad0b7c4dc22af
Remove the unused CHASE_CHAIN props.

CHASE_CHAIN is not correlated with the build process, it has been
undefined since it was introduced in commit 7fe3c11 in 1999, possibly as
a leftover from earlier prototypes.  If defined, the code still compiles
fine, but quietly changes the behaviour in meaningful ways, which is a
wrong thing to do.  Remove the macro and the associated dead code.

A practical side effect of this change is that gen_protochain() now can
be conditional solely on NO_PROTOCHAIN, which simplifies getting the
latter right to solve the build problem stated in GH #852.
gencode.c