diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2018-03-20 11:46:20 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2018-03-20 10:48:25 +0000 |
commit | c75d49719fa8ef7314e06d2d6ee2e610df400836 (patch) | |
tree | 1c8dd929714cb68dc00b28205aa0ec39cb37fb65 /epan | |
parent | 5f739fb83746d7a1cf68325db765b73f568526a1 (diff) |
X2AP: include packet-x2ap.h
This should solve the missing prototypes warnings
Change-Id: Iaf2ac6c0a151cfb614f76c4a6bb103e0210d3808
Reviewed-on: https://code.wireshark.org/review/26567
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/asn1/x2ap/packet-x2ap-template.c | 1 | ||||
-rw-r--r-- | epan/dissectors/packet-x2ap.c | 15 |
2 files changed, 9 insertions, 7 deletions
diff --git a/epan/dissectors/asn1/x2ap/packet-x2ap-template.c b/epan/dissectors/asn1/x2ap/packet-x2ap-template.c index f48f9eafd7..e870d7091f 100644 --- a/epan/dissectors/asn1/x2ap/packet-x2ap-template.c +++ b/epan/dissectors/asn1/x2ap/packet-x2ap-template.c @@ -24,6 +24,7 @@ #include <epan/sctpppids.h> #include <epan/proto_data.h> +#include "packet-x2ap.h" #include "packet-per.h" #include "packet-e212.h" #include "packet-lte-rrc.h" diff --git a/epan/dissectors/packet-x2ap.c b/epan/dissectors/packet-x2ap.c index 8230974d8c..f460490334 100644 --- a/epan/dissectors/packet-x2ap.c +++ b/epan/dissectors/packet-x2ap.c @@ -32,6 +32,7 @@ #include <epan/sctpppids.h> #include <epan/proto_data.h> +#include "packet-x2ap.h" #include "packet-per.h" #include "packet-e212.h" #include "packet-lte-rrc.h" @@ -419,7 +420,7 @@ typedef enum _TriggeringMessage_enum { } TriggeringMessage_enum; /*--- End of included file: packet-x2ap-val.h ---*/ -#line 48 "./asn1/x2ap/packet-x2ap-template.c" +#line 49 "./asn1/x2ap/packet-x2ap-template.c" /* Initialize the protocol and registered fields */ static int proto_x2ap = -1; @@ -1324,7 +1325,7 @@ static int hf_x2ap_successfulOutcome_value = -1; /* SuccessfulOutcome_value */ static int hf_x2ap_value = -1; /* UnsuccessfulOutcome_value */ /*--- End of included file: packet-x2ap-hf.c ---*/ -#line 113 "./asn1/x2ap/packet-x2ap-template.c" +#line 114 "./asn1/x2ap/packet-x2ap-template.c" /* Initialize the subtree pointers */ static int ett_x2ap = -1; @@ -1785,7 +1786,7 @@ static gint ett_x2ap_SuccessfulOutcome = -1; static gint ett_x2ap_UnsuccessfulOutcome = -1; /*--- End of included file: packet-x2ap-ett.c ---*/ -#line 142 "./asn1/x2ap/packet-x2ap-template.c" +#line 143 "./asn1/x2ap/packet-x2ap-template.c" typedef enum { RRC_CONTAINER_TYPE_UNKNOWN, @@ -15309,7 +15310,7 @@ static int dissect_X2AP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto /*--- End of included file: packet-x2ap-fn.c ---*/ -#line 239 "./asn1/x2ap/packet-x2ap-template.c" +#line 240 "./asn1/x2ap/packet-x2ap-template.c" static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { @@ -18959,7 +18960,7 @@ void proto_register_x2ap(void) { "UnsuccessfulOutcome_value", HFILL }}, /*--- End of included file: packet-x2ap-hfarr.c ---*/ -#line 544 "./asn1/x2ap/packet-x2ap-template.c" +#line 545 "./asn1/x2ap/packet-x2ap-template.c" }; /* List of subtrees */ @@ -19422,7 +19423,7 @@ void proto_register_x2ap(void) { &ett_x2ap_UnsuccessfulOutcome, /*--- End of included file: packet-x2ap-ettarr.c ---*/ -#line 575 "./asn1/x2ap/packet-x2ap-template.c" +#line 576 "./asn1/x2ap/packet-x2ap-template.c" }; module_t *x2ap_module; @@ -19810,7 +19811,7 @@ proto_reg_handoff_x2ap(void) /*--- End of included file: packet-x2ap-dis-tab.c ---*/ -#line 621 "./asn1/x2ap/packet-x2ap-template.c" +#line 622 "./asn1/x2ap/packet-x2ap-template.c" } else { if (SctpPort != 0) { dissector_delete_uint("sctp.port", SctpPort, x2ap_handle); |