diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-12-07 11:37:58 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-12-07 11:37:58 +0000 |
commit | eb252d2d3471d5b80af847cd536048fc05c4ae5f (patch) | |
tree | 776d04fbeb6cbfb1c42b28a1a6518b18fd846d26 /epan/dissectors/packet-pkixtsp.c | |
parent | c67d38cf15be33536de6da517221cf7ce7285f8e (diff) |
- Make local functions static.
- Forward declaration of register functions.
svn path=/trunk/; revision=53821
Diffstat (limited to 'epan/dissectors/packet-pkixtsp.c')
-rw-r--r-- | epan/dissectors/packet-pkixtsp.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/epan/dissectors/packet-pkixtsp.c b/epan/dissectors/packet-pkixtsp.c index 187b6973fa..35c2d3f759 100644 --- a/epan/dissectors/packet-pkixtsp.c +++ b/epan/dissectors/packet-pkixtsp.c @@ -47,6 +47,9 @@ #define PSNAME "PKIXTSP" #define PFNAME "pkixtsp" +void proto_register_pkixtsp(void); +void proto_reg_handoff_pkixtsp(void); + /* Initialize the protocol and registered fields */ static int proto_pkixtsp = -1; @@ -86,7 +89,7 @@ static int hf_pkixtsp_PKIFailureInfo_addInfoNotAvailable = -1; static int hf_pkixtsp_PKIFailureInfo_systemFailure = -1; /*--- End of included file: packet-pkixtsp-hf.c ---*/ -#line 45 "../../asn1/pkixtsp/packet-pkixtsp-template.c" +#line 48 "../../asn1/pkixtsp/packet-pkixtsp-template.c" /* Initialize the subtree pointers */ static gint ett_pkixtsp = -1; @@ -102,7 +105,7 @@ static gint ett_pkixtsp_TSTInfo = -1; static gint ett_pkixtsp_Accuracy = -1; /*--- End of included file: packet-pkixtsp-ett.c ---*/ -#line 49 "../../asn1/pkixtsp/packet-pkixtsp-template.c" +#line 52 "../../asn1/pkixtsp/packet-pkixtsp-template.c" @@ -359,7 +362,7 @@ static void dissect_TSTInfo_PDU(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto /*--- End of included file: packet-pkixtsp-fn.c ---*/ -#line 52 "../../asn1/pkixtsp/packet-pkixtsp-template.c" +#line 55 "../../asn1/pkixtsp/packet-pkixtsp-template.c" static int @@ -539,7 +542,7 @@ void proto_register_pkixtsp(void) { NULL, HFILL }}, /*--- End of included file: packet-pkixtsp-hfarr.c ---*/ -#line 103 "../../asn1/pkixtsp/packet-pkixtsp-template.c" +#line 106 "../../asn1/pkixtsp/packet-pkixtsp-template.c" }; /* List of subtrees */ @@ -557,7 +560,7 @@ void proto_register_pkixtsp(void) { &ett_pkixtsp_Accuracy, /*--- End of included file: packet-pkixtsp-ettarr.c ---*/ -#line 109 "../../asn1/pkixtsp/packet-pkixtsp-template.c" +#line 112 "../../asn1/pkixtsp/packet-pkixtsp-template.c" }; /* Register protocol */ @@ -588,6 +591,6 @@ void proto_reg_handoff_pkixtsp(void) { /*--- End of included file: packet-pkixtsp-dis-tab.c ---*/ -#line 133 "../../asn1/pkixtsp/packet-pkixtsp-template.c" +#line 136 "../../asn1/pkixtsp/packet-pkixtsp-template.c" } |