diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-12-08 15:40:10 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-12-08 15:40:10 +0000 |
commit | b630ccec178c898a991758b411286064cc497e57 (patch) | |
tree | 8178269af88acc0e3cd76827a462881bfa2e2abc /epan/dissectors/packet-ocsp.c | |
parent | b7d62057f3793cac5b22d150f6f1070f5b8f0550 (diff) |
- Forward declaration of register functions.
svn path=/trunk/; revision=53859
Diffstat (limited to 'epan/dissectors/packet-ocsp.c')
-rw-r--r-- | epan/dissectors/packet-ocsp.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/epan/dissectors/packet-ocsp.c b/epan/dissectors/packet-ocsp.c index 8f78ca0807..63632deca2 100644 --- a/epan/dissectors/packet-ocsp.c +++ b/epan/dissectors/packet-ocsp.c @@ -49,6 +49,9 @@ #define PSNAME "OCSP" #define PFNAME "ocsp" +void proto_register_ocsp(void); +void proto_reg_handoff_ocsp(void); + /* Initialize the protocol and registered fields */ int proto_ocsp = -1; static int hf_ocsp_responseType_id = -1; @@ -109,7 +112,7 @@ static int hf_ocsp_crlNum = -1; /* INTEGER */ static int hf_ocsp_crlTime = -1; /* GeneralizedTime */ /*--- End of included file: packet-ocsp-hf.c ---*/ -#line 48 "../../asn1/ocsp/packet-ocsp-template.c" +#line 51 "../../asn1/ocsp/packet-ocsp-template.c" /* Initialize the subtree pointers */ static gint ett_ocsp = -1; @@ -137,7 +140,7 @@ static gint ett_ocsp_ServiceLocator = -1; static gint ett_ocsp_CrlID = -1; /*--- End of included file: packet-ocsp-ett.c ---*/ -#line 52 "../../asn1/ocsp/packet-ocsp-template.c" +#line 55 "../../asn1/ocsp/packet-ocsp-template.c" static const char *responseType_id; @@ -662,7 +665,7 @@ static void dissect_NULL_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tr /*--- End of included file: packet-ocsp-fn.c ---*/ -#line 57 "../../asn1/ocsp/packet-ocsp-template.c" +#line 60 "../../asn1/ocsp/packet-ocsp-template.c" static int @@ -930,7 +933,7 @@ void proto_register_ocsp(void) { "GeneralizedTime", HFILL }}, /*--- End of included file: packet-ocsp-hfarr.c ---*/ -#line 112 "../../asn1/ocsp/packet-ocsp-template.c" +#line 115 "../../asn1/ocsp/packet-ocsp-template.c" }; /* List of subtrees */ @@ -960,7 +963,7 @@ void proto_register_ocsp(void) { &ett_ocsp_CrlID, /*--- End of included file: packet-ocsp-ettarr.c ---*/ -#line 118 "../../asn1/ocsp/packet-ocsp-template.c" +#line 121 "../../asn1/ocsp/packet-ocsp-template.c" }; /* Register protocol */ @@ -996,6 +999,6 @@ void proto_reg_handoff_ocsp(void) { /*--- End of included file: packet-ocsp-dis-tab.c ---*/ -#line 141 "../../asn1/ocsp/packet-ocsp-template.c" +#line 144 "../../asn1/ocsp/packet-ocsp-template.c" } |