Squelch *another* "case M ... N:".
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 26 Sep 2007 02:36:22 +0000 (02:36 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 26 Sep 2007 02:36:22 +0000 (02:36 +0000)
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>.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@22979 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-dcp.c

index fd9ca0e288f6c229f5b70cd1d397624353cdf6ae..576fb6f125debe9f673784d90af350aba9dea1ad 100644 (file)
@@ -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;