From 469f3956ba2a38a7fdf1593ff03b9d5e54340e29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Mayer?= Date: Sat, 10 Jan 2004 13:49:52 +0000 Subject: 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 --- packet-h245.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'packet-h245.c') 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 @@ -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; } -- cgit v1.2.3