From: jason taylor Date: Wed, 3 Apr 2019 00:05:03 +0000 (-0400) Subject: pfring: update PfringThreadVars_ for gcc 4.x X-Git-Tag: suricata-5.0.0-beta1~64 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f63ec185a00b9d518bc82f7f1432dadadc7a24b;p=thirdparty%2Fsuricata.git pfring: update PfringThreadVars_ for gcc 4.x Signed-off-by: jason taylor --- diff --git a/src/source-pfring.c b/src/source-pfring.c index 1dc06d63d2..06249dede7 100644 --- a/src/source-pfring.c +++ b/src/source-pfring.c @@ -120,7 +120,7 @@ static SCMutex pfring_bpf_set_filter_lock = SCMUTEX_INITIALIZER; /** * \brief Structure to hold thread specific variables. */ -typedef struct PfringThreadVars_ +struct PfringThreadVars_ { /* thread specific handle */ pfring *pd; @@ -154,7 +154,7 @@ typedef struct PfringThreadVars_ ChecksumValidationMode checksum_mode; bool vlan_hdr_warned; -} PfringThreadVars; +}; /** * \brief Registration Function for RecievePfring.