![]() It ends up dragging in libwireshark headers, which programs not linking with libwireshark shouldn't do. In particular, including <epan/address.h> causes some functions that refer to libwireshark functions to be defined if the compiler doesn't handle "static inline" the way GCC does, and you end up requiring libwireshark even though you shouldn't require it. Move plurality() to wsutil/str_util.h, so that non-libwireshark code can get it without include epan/packet.h. Fix includes as necessary. Change-Id: Ie4819719da4c2b349f61445112aa419e99b977d3 Reviewed-on: https://code.wireshark.org/review/11545 Reviewed-by: Guy Harris <guy@alum.mit.edu> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
EUTRA-InterNodeDefinitions.asn | ||
EUTRA-RRC-Definitions.asn | ||
EUTRA-Sidelink-Preconf.asn | ||
EUTRA-UE-Variables.asn | ||
Makefile.am | ||
Makefile.common | ||
Makefile.nmake | ||
PC5-RRC-Definitions.asn | ||
lte-rrc.cnf | ||
packet-lte-rrc-template.c | ||
packet-lte-rrc-template.h |