diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-12-08 01:08:48 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-12-08 01:08:48 +0000 |
commit | e34cc718853a8da7b76ddeb5eb95941afeffa4eb (patch) | |
tree | 4a61ddff259bf165a7f3eb8911838ea0dd45a0a2 | |
parent | 6242fc7cd1d187846393a4e1bfd12ed474d99631 (diff) | |
download | wireshark-e34cc718853a8da7b76ddeb5eb95941afeffa4eb.tar.gz wireshark-e34cc718853a8da7b76ddeb5eb95941afeffa4eb.tar.bz2 wireshark-e34cc718853a8da7b76ddeb5eb95941afeffa4eb.zip |
Add the StatSRT flags to the header file, rather than declaring them in
all modules that use them.
svn path=/trunk/; revision=20068
-rw-r--r-- | epan/camel-persistentdata.h | 2 | ||||
-rw-r--r-- | epan/tcap-persistentdata.h | 2 | ||||
-rw-r--r-- | tap-camelsrt.c | 6 |
3 files changed, 4 insertions, 6 deletions
diff --git a/epan/camel-persistentdata.h b/epan/camel-persistentdata.h index ac4cb871e8..469eeb098a 100644 --- a/epan/camel-persistentdata.h +++ b/epan/camel-persistentdata.h @@ -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__*/ diff --git a/epan/tcap-persistentdata.h b/epan/tcap-persistentdata.h index f929271184..4040c9fb45 100644 --- a/epan/tcap-persistentdata.h +++ b/epan/tcap-persistentdata.h @@ -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__*/ diff --git a/tap-camelsrt.c b/tap-camelsrt.c index 85b634a558..ff7e4f368d 100644 --- a/tap-camelsrt.c +++ b/tap-camelsrt.c @@ -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) { |