Add the StatSRT flags to the header file, rather than declaring them in
authorGuy Harris <guy@alum.mit.edu>
Fri, 8 Dec 2006 01:08:48 +0000 (01:08 -0000)
committerGuy Harris <guy@alum.mit.edu>
Fri, 8 Dec 2006 01:08:48 +0000 (01:08 -0000)
all modules that use them.

svn path=/trunk/; revision=20068

epan/camel-persistentdata.h
epan/tcap-persistentdata.h
tap-camelsrt.c

index ac4cb871e8d791d619ce5f98f2a7c4aa7f9c6293..469eeb098a471e5a0f09ec31f1c38598462d40f4 100644 (file)
@@ -112,4 +112,6 @@ void camelsrt_call_matching(tvbuff_t *tvb,
                            proto_tree *tree,
                            struct camelsrt_info_t * p_camel_info);
 
+extern gboolean gcamel_StatSRT;
+
 #endif /* __camelsrt_HASH__*/
index f92927118463852c3ef5c18ad99daa55869bd704..4040c9fb458beafcec763ee504c8a510dbd30a95 100644 (file)
@@ -124,4 +124,6 @@ struct tcaphash_context_t * tcapsrt_call_matching(tvbuff_t *tvb,
                                                  proto_tree *tree,
                                                  struct tcapsrt_info_t * p_tcap_info);
 
+extern gboolean gtcap_StatSRT;
+
 #endif /* __tcapsrt_HASH__*/
index 85b634a558ea5c5d2b07b7c263213c6ea7d69d4f..ff7e4f368d7e9db7124c6b03f312513ea6040438 100644 (file)
@@ -60,12 +60,6 @@ struct camelsrt_t {
   nstime_t delta_time[NB_CAMELSRT_CATEGORY][NUM_RAS_STATS];
 };
 
-/* Check if we have to inhibit the display or not 
- * cannot be static because it's exported in libwireshark.def
- */
-gboolean gcamel_StatSRT;
-gboolean gtcap_StatSRT;
-
 /* Reset the counter */
 static void camelsrt_reset(void *phs)
 {