summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-spnego.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-12-07 11:37:58 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-12-07 11:37:58 +0000
commiteb252d2d3471d5b80af847cd536048fc05c4ae5f (patch)
tree776d04fbeb6cbfb1c42b28a1a6518b18fd846d26 /epan/dissectors/packet-spnego.c
parentc67d38cf15be33536de6da517221cf7ce7285f8e (diff)
downloadwireshark-eb252d2d3471d5b80af847cd536048fc05c4ae5f.tar.gz
- Make local functions static.
- Forward declaration of register functions. svn path=/trunk/; revision=53821
Diffstat (limited to 'epan/dissectors/packet-spnego.c')
-rw-r--r--epan/dissectors/packet-spnego.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/epan/dissectors/packet-spnego.c b/epan/dissectors/packet-spnego.c
index 865c6a4ba4..e01c4cdcd5 100644
--- a/epan/dissectors/packet-spnego.c
+++ b/epan/dissectors/packet-spnego.c
@@ -63,6 +63,9 @@
#define PSNAME "SPNEGO"
#define PFNAME "spnego"
+void proto_register_spnego(void);
+void proto_reg_handoff_spnego(void);
+
/* Initialize the protocol and registered fields */
static int proto_spnego = -1;
static int proto_spnego_krb5 = -1;
@@ -113,7 +116,7 @@ static int hf_spnego_ContextFlags_confFlag = -1;
static int hf_spnego_ContextFlags_integFlag = -1;
/*--- End of included file: packet-spnego-hf.c ---*/
-#line 82 "../../asn1/spnego/packet-spnego-template.c"
+#line 85 "../../asn1/spnego/packet-spnego-template.c"
/* Global variables */
static const char *MechType_oid;
@@ -139,7 +142,7 @@ static gint ett_spnego_NegTokenTarg = -1;
static gint ett_spnego_InitialContextToken_U = -1;
/*--- End of included file: packet-spnego-ett.c ---*/
-#line 96 "../../asn1/spnego/packet-spnego-template.c"
+#line 99 "../../asn1/spnego/packet-spnego-template.c"
/*
* Unfortunately, we have to have a forward declaration of this,
@@ -584,7 +587,7 @@ dissect_spnego_InitialContextToken(gboolean implicit_tag _U_, tvbuff_t *tvb _U_,
/*--- End of included file: packet-spnego-fn.c ---*/
-#line 107 "../../asn1/spnego/packet-spnego-template.c"
+#line 110 "../../asn1/spnego/packet-spnego-template.c"
/*
* This is the SPNEGO KRB5 dissector. It is not true KRB5, but some ASN.1
* wrapped blob with an OID, USHORT token ID, and a Ticket, that is also
@@ -1944,7 +1947,7 @@ void proto_register_spnego(void) {
NULL, HFILL }},
/*--- End of included file: packet-spnego-hfarr.c ---*/
-#line 1378 "../../asn1/spnego/packet-spnego-template.c"
+#line 1381 "../../asn1/spnego/packet-spnego-template.c"
};
/* List of subtrees */
@@ -1966,7 +1969,7 @@ void proto_register_spnego(void) {
&ett_spnego_InitialContextToken_U,
/*--- End of included file: packet-spnego-ettarr.c ---*/
-#line 1388 "../../asn1/spnego/packet-spnego-template.c"
+#line 1391 "../../asn1/spnego/packet-spnego-template.c"
};
/* Register protocol */