Add the StatSRT flags to the header file, rather than declaring them in

all modules that use them.

svn path=/trunk/; revision=20068
This commit is contained in:
Guy Harris 2006-12-08 01:08:48 +00:00
parent 6242fc7cd1
commit e34cc71885
3 changed files with 4 additions and 6 deletions

View 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__*/

View 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__*/

View 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)
{