Skip to content

Commit

Permalink
Add some missing wmem includes that apparently only show up on Windows.
Browse files Browse the repository at this point in the history
svn path=/trunk/; revision=50071
  • Loading branch information
eapache committed Jun 19, 2013
1 parent c0fda17 commit 0d3718b
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
1 change: 1 addition & 0 deletions asn1/pkcs12/packet-pkcs12-template.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#include <epan/oids.h>
#include <epan/asn1.h>
#include <epan/prefs.h>
#include <epan/wmem/wmem.h>

#include "packet-ber.h"
#include "packet-pkcs12.h"
Expand Down
1 change: 1 addition & 0 deletions asn1/rnsap/packet-rnsap-template.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@

#include <glib.h>
#include <epan/packet.h>
#include <epan/wmem/wmem.h>

#include <epan/asn1.h>

Expand Down
13 changes: 7 additions & 6 deletions epan/dissectors/packet-pkcs12.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <epan/oids.h>
#include <epan/asn1.h>
#include <epan/prefs.h>
#include <epan/wmem/wmem.h>

#include "packet-ber.h"
#include "packet-pkcs12.h"
Expand Down Expand Up @@ -143,7 +144,7 @@ static int hf_pkcs12_encryptionScheme = -1; /* AlgorithmIdentifier */
static int hf_pkcs12_messageAuthScheme = -1; /* AlgorithmIdentifier */

/*--- End of included file: packet-pkcs12-hf.c ---*/
#line 80 "../../asn1/pkcs12/packet-pkcs12-template.c"
#line 81 "../../asn1/pkcs12/packet-pkcs12-template.c"

/* Initialize the subtree pointers */

Expand Down Expand Up @@ -171,7 +172,7 @@ static gint ett_pkcs12_PBES2Params = -1;
static gint ett_pkcs12_PBMAC1Params = -1;

/*--- End of included file: packet-pkcs12-ett.c ---*/
#line 83 "../../asn1/pkcs12/packet-pkcs12-template.c"
#line 84 "../../asn1/pkcs12/packet-pkcs12-template.c"

static void append_oid(proto_tree *tree, const char *oid)
{
Expand Down Expand Up @@ -1127,7 +1128,7 @@ static void dissect_PBMAC1Params_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_,


/*--- End of included file: packet-pkcs12-fn.c ---*/
#line 384 "../../asn1/pkcs12/packet-pkcs12-template.c"
#line 385 "../../asn1/pkcs12/packet-pkcs12-template.c"

static int strip_octet_string(tvbuff_t *tvb)
{
Expand Down Expand Up @@ -1415,7 +1416,7 @@ void proto_register_pkcs12(void) {
"AlgorithmIdentifier", HFILL }},

/*--- End of included file: packet-pkcs12-hfarr.c ---*/
#line 451 "../../asn1/pkcs12/packet-pkcs12-template.c"
#line 452 "../../asn1/pkcs12/packet-pkcs12-template.c"
};

/* List of subtrees */
Expand Down Expand Up @@ -1446,7 +1447,7 @@ void proto_register_pkcs12(void) {
&ett_pkcs12_PBMAC1Params,

/*--- End of included file: packet-pkcs12-ettarr.c ---*/
#line 457 "../../asn1/pkcs12/packet-pkcs12-template.c"
#line 458 "../../asn1/pkcs12/packet-pkcs12-template.c"
};
module_t *pkcs12_module;

Expand Down Expand Up @@ -1507,7 +1508,7 @@ void proto_reg_handoff_pkcs12(void) {


/*--- End of included file: packet-pkcs12-dis-tab.c ---*/
#line 489 "../../asn1/pkcs12/packet-pkcs12-template.c"
#line 490 "../../asn1/pkcs12/packet-pkcs12-template.c"

register_ber_oid_dissector("1.2.840.113549.1.9.22.1", dissect_X509Certificate_OCTETSTRING_PDU, proto_pkcs12, "x509Certificate");

Expand Down
15 changes: 8 additions & 7 deletions epan/dissectors/packet-rnsap.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

#include <glib.h>
#include <epan/packet.h>
#include <epan/wmem/wmem.h>

#include <epan/asn1.h>

Expand Down Expand Up @@ -1132,7 +1133,7 @@ typedef enum _ProtocolIE_ID_enum {
} ProtocolIE_ID_enum;

/*--- End of included file: packet-rnsap-val.h ---*/
#line 53 "../../asn1/rnsap/packet-rnsap-template.c"
#line 54 "../../asn1/rnsap/packet-rnsap-template.c"

static dissector_handle_t rrc_dl_dcch_handle = NULL;

Expand Down Expand Up @@ -3869,7 +3870,7 @@ static int hf_rnsap_value_04 = -1; /* UnsuccessfulOutcome_value *
static int hf_rnsap_value_05 = -1; /* Outcome_value */

/*--- End of included file: packet-rnsap-hf.c ---*/
#line 60 "../../asn1/rnsap/packet-rnsap-template.c"
#line 61 "../../asn1/rnsap/packet-rnsap-template.c"

/* Initialize the subtree pointers */
static int ett_rnsap = -1;
Expand Down Expand Up @@ -5156,7 +5157,7 @@ static gint ett_rnsap_UnsuccessfulOutcome = -1;
static gint ett_rnsap_Outcome = -1;

/*--- End of included file: packet-rnsap-ett.c ---*/
#line 65 "../../asn1/rnsap/packet-rnsap-template.c"
#line 66 "../../asn1/rnsap/packet-rnsap-template.c"

/* Global variables */
static guint32 ProcedureCode;
Expand Down Expand Up @@ -43145,7 +43146,7 @@ static int dissect_NULL_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tre


/*--- End of included file: packet-rnsap-fn.c ---*/
#line 89 "../../asn1/rnsap/packet-rnsap-template.c"
#line 90 "../../asn1/rnsap/packet-rnsap-template.c"

static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
Expand Down Expand Up @@ -54107,7 +54108,7 @@ void proto_register_rnsap(void) {
"Outcome_value", HFILL }},

/*--- End of included file: packet-rnsap-hfarr.c ---*/
#line 146 "../../asn1/rnsap/packet-rnsap-template.c"
#line 147 "../../asn1/rnsap/packet-rnsap-template.c"
};

/* List of subtrees */
Expand Down Expand Up @@ -55395,7 +55396,7 @@ void proto_register_rnsap(void) {
&ett_rnsap_Outcome,

/*--- End of included file: packet-rnsap-ettarr.c ---*/
#line 152 "../../asn1/rnsap/packet-rnsap-template.c"
#line 153 "../../asn1/rnsap/packet-rnsap-template.c"
};


Expand Down Expand Up @@ -56231,7 +56232,7 @@ proto_reg_handoff_rnsap(void)


/*--- End of included file: packet-rnsap-dis-tab.c ---*/
#line 191 "../../asn1/rnsap/packet-rnsap-template.c"
#line 192 "../../asn1/rnsap/packet-rnsap-template.c"
}


0 comments on commit 0d3718b

Please sign in to comment.