diff options
author | Jörg Mayer <jmayer@loplof.de> | 2004-01-10 13:49:52 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2004-01-10 13:49:52 +0000 |
commit | 469f3956ba2a38a7fdf1593ff03b9d5e54340e29 (patch) | |
tree | db46ed43dc4fb2c542e84d654a281357df1f575f /packet-h245.c | |
parent | 93da1d2117aea1830fc0f9fedbb3ea92d2774ecd (diff) | |
download | wireshark-469f3956ba2a38a7fdf1593ff03b9d5e54340e29.tar.gz wireshark-469f3956ba2a38a7fdf1593ff03b9d5e54340e29.tar.bz2 wireshark-469f3956ba2a38a7fdf1593ff03b9d5e54340e29.zip |
Fix the following type of warings:
packet-h245.c:13932: warning: invalid storage class for function `dissect_h245_RedundancyEncodingElement'
by moving the function declarations outside other functions
svn path=/trunk/; revision=9631
Diffstat (limited to 'packet-h245.c')
-rw-r--r-- | packet-h245.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/packet-h245.c b/packet-h245.c index 67e77a8bba..50be7a098c 100644 --- a/packet-h245.c +++ b/packet-h245.c @@ -7,7 +7,7 @@ * * Maintained by Andreas Sikkema (andreas.sikkema@philips.com) * - * $Id: packet-h245.c,v 1.43 2004/01/09 00:56:03 guy Exp $ + * $Id: packet-h245.c,v 1.44 2004/01/10 13:49:52 jmayer Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -13925,12 +13925,12 @@ dissect_h245_nonCollapsing_sequence_of(tvbuff_t *tvb, int offset, packet_info *p } -static int -dissect_h245_secondary_REE_sequence_of(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) -{ /* XXX */ static int dissect_h245_RedundancyEncodingElement(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree); +static int +dissect_h245_secondary_REE_sequence_of(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +{ offset=dissect_per_sequence_of(tvb, offset, pinfo, tree, hf_h245_secondary_REE, ett_h245_secondary_REE, dissect_h245_RedundancyEncodingElement ); return offset; } @@ -13938,12 +13938,12 @@ static int dissect_h245_RedundancyEncodingElement(tvbuff_t *tvb, int offset, pac -static int -dissect_h245_elements_MPSE_sequence_of(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) -{ /* XXX */ static int dissect_h245_MultiplePayloadStreamElement(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree); +static int +dissect_h245_elements_MPSE_sequence_of(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +{ offset=dissect_per_sequence_of(tvb, offset, pinfo, tree, hf_h245_elements_MPSE, ett_h245_elements_MPSE, dissect_h245_MultiplePayloadStreamElement ); return offset; } @@ -13951,12 +13951,12 @@ static int dissect_h245_MultiplePayloadStreamElement(tvbuff_t *tvb, int offset, -static int -dissect_h245_secondary_REDTME_sequence_of(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) -{ /* XXX */ static int dissect_h245_RedundancyEncodingDTModeElement(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree); +static int +dissect_h245_secondary_REDTME_sequence_of(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +{ offset=dissect_per_sequence_of(tvb, offset, pinfo, tree, hf_h245_secondary_REDTME, ett_h245_secondary_REDTME, dissect_h245_RedundancyEncodingDTModeElement ); return offset; } @@ -13964,12 +13964,12 @@ static int dissect_h245_RedundancyEncodingDTModeElement(tvbuff_t *tvb, int offse -static int -dissect_h245_elements_MPSEM_sequence_of(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) -{ /* XXX*/ static int dissect_h245_MultiplePayloadStreamElementMode(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree); +static int +dissect_h245_elements_MPSEM_sequence_of(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +{ offset=dissect_per_sequence_of(tvb, offset, pinfo, tree, hf_h245_elements_MPSEM, ett_h245_elements_MPSEM, dissect_h245_MultiplePayloadStreamElementMode ); return offset; } |