NetBSD/usr.sbin/ldpd
rillig 3afd224e52 ldpd: remove unused bit-field member from anonymous union
The struct common_hello_tlv contained an anonymous union, which is a C11
feature.  That union contained a bit-field, which is very unusual since
the C standards answer basically all interesting questions about
bit-fields in unions with "implementation-defined" or "unspecified".
GCC passes these questions further down by saying "Determined by ABI".

This was the only occurrence of a bit-field union member in the whole
NetBSD tree, and it caused the lint diagnostic 41 to be downgraded from
error to warning on 2021-09-17 since this exotic construct is allowed by
the C standards but practically unused.

No binary change.
2022-02-07 02:35:09 +00:00
..
Makefile Make use of packed member addreses non-fatal for clang, too 2021-02-23 15:05:08 +00:00
TODO
conffile.c
conffile.h
fsm.c
fsm.h
label.c
label.h
ldp.h
ldp_command.c
ldp_command.h
ldp_errors.c
ldp_errors.h
ldp_peer.c
ldp_peer.h
ldpd.8
ldpd.conf.5
main.c
mpls_interface.c
mpls_interface.h
mpls_routes.c
mpls_routes.h
notifications.c
notifications.h
pdu.c
pdu.h
socketops.c
socketops.h
tlv.c
tlv.h ldpd: remove unused bit-field member from anonymous union 2022-02-07 02:35:09 +00:00
tlv_stack.c
tlv_stack.h