diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-09-21 18:27:28 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-09-21 18:27:28 +0000 |
commit | 4e09b5e0b3672e6893d6d90e833cb9e05436faf9 (patch) | |
tree | c099a9f4cc6d44e9ad3a348e140b2923cfdc8e46 /asn1/spnego/packet-spnego-template.c | |
parent | 0fb81e221e18e15274da6e0360ed0bc77e93aeca (diff) |
Some compilers don't allow a static declaration of a function inside
another function, so move the declaration of
dissect_spnego_PrincipalSeq() to the top of the file.
svn path=/trunk/; revision=15938
Diffstat (limited to 'asn1/spnego/packet-spnego-template.c')
-rw-r--r-- | asn1/spnego/packet-spnego-template.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/asn1/spnego/packet-spnego-template.c b/asn1/spnego/packet-spnego-template.c index e899e3f6e8..151eb43a12 100644 --- a/asn1/spnego/packet-spnego-template.c +++ b/asn1/spnego/packet-spnego-template.c @@ -87,6 +87,15 @@ static gint ett_spnego_krb5 = -1; static dissector_handle_t data_handle; +/* + * Unfortunately, we have to have a forward declaration of this, + * as the code generated by asn2eth includes a call before the + * definition. + */ +static int dissect_spnego_PrincipalSeq(gboolean implicit_tag, tvbuff_t *tvb, + int offset, packet_info *pinfo, + proto_tree *tree, int hf_index); + #include "packet-spnego-fn.c" /* * This is the SPNEGO KRB5 dissector. It is not true KRB5, but some ASN.1 |