From c75d49719fa8ef7314e06d2d6ee2e610df400836 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Tue, 20 Mar 2018 11:46:20 +0100 Subject: 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 --- epan/dissectors/packet-x2ap.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'epan/dissectors/packet-x2ap.c') 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 #include +#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); -- cgit v1.2.3