aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dfilter/dfilter.c
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2002-04-08 20:11:31 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2002-04-08 20:11:31 +0000
commitbf43b509f0b7018cc5beb1e74daf388390dbb3e3 (patch)
tree302e18d5ac62dcab485e3b9831995219baa3468f /epan/dfilter/dfilter.c
parent629600a3d29881c5e4297cdc72c368b737af29b8 (diff)
Make some variables and functions static.
svn path=/trunk/; revision=5129
Diffstat (limited to 'epan/dfilter/dfilter.c')
-rw-r--r--epan/dfilter/dfilter.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dfilter/dfilter.c b/epan/dfilter/dfilter.c
index 8c4aacbe7f..d0afc3eaed 100644
--- a/epan/dfilter/dfilter.c
+++ b/epan/dfilter/dfilter.c
@@ -1,5 +1,5 @@
/*
- * $Id: dfilter.c,v 1.7 2002/01/21 07:37:37 guy Exp $
+ * $Id: dfilter.c,v 1.8 2002/04/08 20:11:31 gram Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -40,7 +40,7 @@
/* Balanced tree of abbreviations and IDs */
-GTree *dfilter_tokens = NULL;
+static GTree *dfilter_tokens = NULL;
#define DFILTER_TOKEN_ID_OFFSET 1
@@ -48,7 +48,7 @@ GTree *dfilter_tokens = NULL;
static int g_strcmp(gconstpointer a, gconstpointer b);
/* Global error message space for dfilter_compile errors */
-gchar dfilter_error_msg_buf[1024];
+static gchar dfilter_error_msg_buf[1024];
gchar *dfilter_error_msg; /* NULL when no error resulted */
/* In proto.c */
@@ -61,7 +61,7 @@ void df_scanner_cleanup(void);
int df_lex(void);
/* Holds the singular instance of our Lemon parser object */
-void* ParserObj = NULL;
+static void* ParserObj = NULL;
void
dfilter_fail(char *format, ...)