diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-07-07 23:54:13 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-07-07 23:54:13 +0000 |
commit | 856e356a7a544706cf27edad3113db1acaa6704c (patch) | |
tree | ffa42eda17ab9825b2367756d53fdb2f8cf34386 /dfilter.h | |
parent | 9f9d19f529f1d4b854184356116946ae73930f4f (diff) |
"const"ifty some function arguments and structure members, and "#if 0"
out the declaration of a variable used only by "#if 0"ed out code, to
eliminate some compiler warnings.
svn path=/trunk/; revision=344
Diffstat (limited to 'dfilter.h')
-rw-r--r-- | dfilter.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ /* dfilter.h * Definitions for display filters * - * $Id: dfilter.h,v 1.1 1999/07/07 22:51:37 gram Exp $ + * $Id: dfilter.h,v 1.2 1999/07/07 23:54:12 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -29,7 +29,7 @@ void dfilter_init(void); void dfilter_cleanup(void); int dfilter_compile(char* dfilter_text, GNode** p_dfcode); -gboolean dfilter_apply(GNode *dfcode, proto_tree *ptree, guint8* pd); +gboolean dfilter_apply(GNode *dfcode, proto_tree *ptree, const guint8* pd); /* Here we provide interfaces to make our scanner act and look like lex */ int yylex(void); |