Made some functions static.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 19 Oct 2009 14:21:11 +0000 (14:21 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 19 Oct 2009 14:21:11 +0000 (14:21 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30616 f5534014-38df-0310-8fa8-9805f1628bb7

color_filters.c
file.c
filters.c

index f24d177d058b3f9f8e79d005e0d7eb329ceb77a2..dd41ec7d0951eb2bff8b04708ce9e10f43fe1c00 100644 (file)
@@ -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))
diff --git a/file.c b/file.c
index 18275993f51ab24fde502f42f1227dd208c7126f..f317f31ab34195e365cbe77be95eceb558e9f124 100644 (file)
--- a/file.c
+++ b/file.c
@@ -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();
 }
index 1ea2333d703e62eb100595b02e89e4e48d47b892..f73b7141f75c7928f103cbb06aefe450374e3115 100644 (file)
--- a/filters.c
+++ b/filters.c
@@ -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;