diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-12-08 16:40:49 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-12-08 16:40:49 +0000 |
commit | 8983ae005a175f04f34bd37d4e7447d583d8256c (patch) | |
tree | 380c6034536b1d967c93e96b394c8cfb232ce62d /epan/dissectors/packet-hnbap.c | |
parent | c9884f573a530de0127754d307bcb463c4f01dad (diff) |
- Forward declaration of register functions.
svn path=/trunk/; revision=53861
Diffstat (limited to 'epan/dissectors/packet-hnbap.c')
-rw-r--r-- | epan/dissectors/packet-hnbap.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/epan/dissectors/packet-hnbap.c b/epan/dissectors/packet-hnbap.c index 98551ee604..8ec8f45a71 100644 --- a/epan/dissectors/packet-hnbap.c +++ b/epan/dissectors/packet-hnbap.c @@ -56,6 +56,8 @@ /* Dissector will use SCTP PPID 20 or SCTP port. IANA assigned port = 29169*/ #define SCTP_PORT_HNBAP 29169 +void proto_register_hnbap(void); + /*--- Included file: packet-hnbap-val.h ---*/ #line 1 "../../asn1/hnbap/packet-hnbap-val.h" @@ -114,7 +116,7 @@ typedef enum _ProtocolIE_ID_enum { } ProtocolIE_ID_enum; /*--- End of included file: packet-hnbap-val.h ---*/ -#line 52 "../../asn1/hnbap/packet-hnbap-template.c" +#line 54 "../../asn1/hnbap/packet-hnbap-template.c" /* Initialize the protocol and registered fields */ static int proto_hnbap = -1; @@ -260,7 +262,7 @@ static int hf_hnbap_successfulOutcome_value = -1; /* SuccessfulOutcome_value */ static int hf_hnbap_unsuccessfulOutcome_value = -1; /* UnsuccessfulOutcome_value */ /*--- End of included file: packet-hnbap-hf.c ---*/ -#line 57 "../../asn1/hnbap/packet-hnbap-template.c" +#line 59 "../../asn1/hnbap/packet-hnbap-template.c" /* Initialize the subtree pointers */ static int ett_hnbap = -1; @@ -334,7 +336,7 @@ static gint ett_hnbap_SuccessfulOutcome = -1; static gint ett_hnbap_UnsuccessfulOutcome = -1; /*--- End of included file: packet-hnbap-ett.c ---*/ -#line 62 "../../asn1/hnbap/packet-hnbap-template.c" +#line 64 "../../asn1/hnbap/packet-hnbap-template.c" /* Global variables */ static guint32 ProcedureCode; @@ -2588,7 +2590,7 @@ static void dissect_HNBAP_PDU_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, pro /*--- End of included file: packet-hnbap-fn.c ---*/ -#line 83 "../../asn1/hnbap/packet-hnbap-template.c" +#line 85 "../../asn1/hnbap/packet-hnbap-template.c" static int dissect_ProtocolIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { @@ -3207,7 +3209,7 @@ module_t *hnbap_module; "UnsuccessfulOutcome_value", HFILL }}, /*--- End of included file: packet-hnbap-hfarr.c ---*/ -#line 153 "../../asn1/hnbap/packet-hnbap-template.c" +#line 155 "../../asn1/hnbap/packet-hnbap-template.c" }; /* List of subtrees */ @@ -3282,7 +3284,7 @@ module_t *hnbap_module; &ett_hnbap_UnsuccessfulOutcome, /*--- End of included file: packet-hnbap-ettarr.c ---*/ -#line 159 "../../asn1/hnbap/packet-hnbap-template.c" +#line 161 "../../asn1/hnbap/packet-hnbap-template.c" }; @@ -3369,7 +3371,7 @@ proto_reg_handoff_hnbap(void) /*--- End of included file: packet-hnbap-dis-tab.c ---*/ -#line 196 "../../asn1/hnbap/packet-hnbap-template.c" +#line 198 "../../asn1/hnbap/packet-hnbap-template.c" } else { dissector_delete_uint("sctp.port", sctp_port, hnbap_handle); |