aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-09-09 21:04:15 +0000
committerGuy Harris <guy@alum.mit.edu>2002-09-09 21:04:15 +0000
commitac69a72fda54ebc96ca4652b059208c0cdf9633a (patch)
tree9f1428595a5708196537277c9cd5107faec6a7ca /epan/dfilter
parent5e8ecbaf4650a35ee0c3e9240bbcedb7def95e2c (diff)
"dfilter_prime_proto_tree()" doesn't modify the "dfilter_t" to which
it's handed a pointer, which means that "epan_dissect_prime_dfilter()" doesn't do so either; make that argument a "const dfilter_t *" in both cases. svn path=/trunk/; revision=6239
Diffstat (limited to 'epan/dfilter')
-rw-r--r--epan/dfilter/dfilter.c4
-rw-r--r--epan/dfilter/dfilter.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/epan/dfilter/dfilter.c b/epan/dfilter/dfilter.c
index d656d4f00b..fae8bdd423 100644
--- a/epan/dfilter/dfilter.c
+++ b/epan/dfilter/dfilter.c
@@ -1,5 +1,5 @@
/*
- * $Id: dfilter.c,v 1.11 2002/08/28 20:40:55 jmayer Exp $
+ * $Id: dfilter.c,v 1.12 2002/09/09 21:04:15 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -297,7 +297,7 @@ dfilter_apply_edt(dfilter_t *df, epan_dissect_t* edt)
void
-dfilter_prime_proto_tree(dfilter_t *df, proto_tree *tree)
+dfilter_prime_proto_tree(const dfilter_t *df, proto_tree *tree)
{
int i;
diff --git a/epan/dfilter/dfilter.h b/epan/dfilter/dfilter.h
index 48c5f5c15f..4128215ea8 100644
--- a/epan/dfilter/dfilter.h
+++ b/epan/dfilter/dfilter.h
@@ -1,5 +1,5 @@
/*
- * $Id: dfilter.h,v 1.6 2002/08/28 20:40:55 jmayer Exp $
+ * $Id: dfilter.h,v 1.7 2002/09/09 21:04:15 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -78,7 +78,7 @@ dfilter_apply(dfilter_t *df, proto_tree *tree);
/* Prime a proto_tree using the fields/protocols used in a dfilter. */
void
-dfilter_prime_proto_tree(dfilter_t *df, proto_tree *tree);
+dfilter_prime_proto_tree(const dfilter_t *df, proto_tree *tree);
/* Print bytecode of dfilter to stdout */
void