]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
pfring: update PfringThreadVars_ for gcc 4.x 3783/head
authorjason taylor <jtfas90@gmail.com>
Wed, 3 Apr 2019 00:05:03 +0000 (20:05 -0400)
committerVictor Julien <victor@inliniac.net>
Mon, 8 Apr 2019 10:18:03 +0000 (12:18 +0200)
Signed-off-by: jason taylor <jtfas90@gmail.com>
src/source-pfring.c

index 1dc06d63d25f922d9f168b8858d699aeda2c68cb..06249dede7a5edc76ef613ed9f71637addd1e417 100644 (file)
@@ -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.