aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-03-21 00:09:45 +0000
committerGuy Harris <guy@alum.mit.edu>2012-03-21 00:09:45 +0000
commitb551749d28af707df007599d70ade5429941a5ad (patch)
tree1bff71dd3f342e8529362a23e94bc4184a9f891d /ui
parente64375d18746bb46819644c79eb1d45c8aad9821 (diff)
welcome_if_tree_load() is not used outside ui/gtk/main_welcome.c; make
it static. svn path=/trunk/; revision=41693
Diffstat (limited to 'ui')
-rw-r--r--ui/gtk/main_welcome.c3
-rw-r--r--ui/gtk/main_welcome.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/ui/gtk/main_welcome.c b/ui/gtk/main_welcome.c
index afc2dc3e81..bca3ab6a68 100644
--- a/ui/gtk/main_welcome.c
+++ b/ui/gtk/main_welcome.c
@@ -117,6 +117,7 @@ static GMutex *recent_mtx;
#ifdef HAVE_LIBPCAP
static void capture_if_start(GtkWidget *w _U_, gpointer data _U_);
static gboolean activate_link_cb(GtkLabel *label _U_, gchar *uri, gpointer user_data _U_);
+static void welcome_if_tree_load(void);
#endif
/* The "scroll box dynamic" is a (complicated) pseudo widget to */
@@ -1079,7 +1080,7 @@ static void fill_capture_box(void)
#endif
/* list the interfaces */
-void
+static void
welcome_if_tree_load(void)
{
#ifdef HAVE_LIBPCAP
diff --git a/ui/gtk/main_welcome.h b/ui/gtk/main_welcome.h
index 429e642057..fe7cc44304 100644
--- a/ui/gtk/main_welcome.h
+++ b/ui/gtk/main_welcome.h
@@ -51,8 +51,6 @@ void main_welcome_add_recent_capture_file(const char *widget_cf_name, GObject *m
/* reload the list of interfaces */
void welcome_if_panel_reload(void);
-void welcome_if_tree_load(void);
-
/** Push a status message into the welcome screen header similar to
* statusbar_push_*_msg(). This hides everything under the header.
* If msg is dynamically allocated, it is up to the caller to free