diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-09-26 02:36:22 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-09-26 02:36:22 +0000 |
commit | 8a0da8123760f878752b6e4eca48a1d3198b08bf (patch) | |
tree | 151c0dd8f2e55e45044ccb2afbacd23dac1fda7f /epan | |
parent | 109a51069652d7bf6d0f5ad71daa51c0819fa9f5 (diff) |
Squelch *another* "case M ... N:".
To quote doc/README.developer:
Don't use "inline"; not all compilers support it. If you want to have a
function be an inline function if the compiler supports it, use
G_INLINE_FUNC, which is declared by <glib.h>.
svn path=/trunk/; revision=22979
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-dcp.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dcp.c b/epan/dissectors/packet-dcp.c index fd9ca0e288..576fb6f125 100644 --- a/epan/dissectors/packet-dcp.c +++ b/epan/dissectors/packet-dcp.c @@ -412,7 +412,10 @@ static void dissect_options(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *d proto_tree_add_text(dcp_options_tree, tvb, offset, option_len, "Slow Receiver"); break; - case 32 ... 35: + case 32: + case 33: + case 34: + case 35: dissect_feature_options(dcp_options_tree, tvb, offset, option_len, option_type); break; @@ -546,7 +549,7 @@ static void dissect_options(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *d } /* end while() */ } /* compute DCCP checksum coverage according to RFC 4340, section 9 */ -static inline guint dccp_csum_coverage(const e_dcphdr *dcph, guint len) +static G_INLINE_FUNC guint dccp_csum_coverage(const e_dcphdr *dcph, guint len) { guint cov; |