diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-10-19 14:21:11 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2009-10-19 14:21:11 +0000 |
commit | 05ecd5a7c13a61763627850aac73b4cac7169108 (patch) | |
tree | 82d6943a406879cc92b42e367864b736a31060a8 | |
parent | 2c9124267c1bd958097e6a70261a575bcd0f2b3d (diff) |
Made some functions static.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30616 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r-- | color_filters.c | 6 | ||||
-rw-r--r-- | file.c | 2 | ||||
-rw-r--r-- | filters.c | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/color_filters.c b/color_filters.c index f24d177d05..dd41ec7d09 100644 --- a/color_filters.c +++ b/color_filters.c @@ -92,7 +92,7 @@ color_filter_new(const gchar *name, /* The name of the filter to create */ } /* Add ten empty (temporary) colorfilters for easy coloring */ -void +static void color_filters_add_tmp(GSList **cfl) { gchar *name = NULL; @@ -291,8 +291,8 @@ color_filters_init(void) /* delete all currently existing filters */ color_filter_list_delete(&color_filter_list); - /* start the list with the temporary colorizing rules */ - color_filters_add_tmp(&color_filter_list); + /* start the list with the temporary colorizing rules */ + color_filters_add_tmp(&color_filter_list); /* try to read the users filters */ if (!read_users_filters(&color_filter_list)) @@ -457,7 +457,7 @@ cf_close(capture_file *cf) } /* an out of memory exception occured, wait for a user button press to exit */ -void outofmemory_cb(gpointer dialog _U_, gint btn _U_, gpointer data _U_) +static void outofmemory_cb(gpointer dialog _U_, gint btn _U_, gpointer data _U_) { main_window_exit(); } @@ -88,7 +88,7 @@ static GList *display_edited_filters = NULL; #define INIT_BUF_SIZE 128 -GList * +static GList * add_filter_entry(GList *fl, const char *filt_name, const char *filt_expr) { filter_def *filt; @@ -99,7 +99,7 @@ add_filter_entry(GList *fl, const char *filt_name, const char *filt_expr) return g_list_append(fl, filt); } -GList * +static GList * remove_filter_entry(GList *fl, GList *fl_entry) { filter_def *filt; |