• Guy Harris's avatar
    Don't include "file.h" if you don't need it. · ff9f9fc4
    Guy Harris authored
    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/11545Reviewed-by: 's avatarGuy Harris <guy@alum.mit.edu>
ringbuffer.h 2 KB