From 7d1a93f7fdf93e00b16335acc8f9277bbb25ae8f Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 29 Jun 2014 22:29:42 -0700 Subject: Make a routine unused outside capture_ui_utils.c static. Change-Id: I63f1e5fb119a44edf4ee489683e79cb39a746c08 Reviewed-on: https://code.wireshark.org/review/2710 Reviewed-by: Guy Harris --- ui/capture_ui_utils.c | 2 +- ui/capture_ui_utils.h | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) (limited to 'ui') diff --git a/ui/capture_ui_utils.c b/ui/capture_ui_utils.c index ae192fdf03..668385f08d 100644 --- a/ui/capture_ui_utils.c +++ b/ui/capture_ui_utils.c @@ -370,7 +370,7 @@ search_info(GList *if_list, gchar *if_name) /* build the string to display in the combo box for the given interface */ -char * +static char * build_capture_combo_name(GList *if_list, gchar *if_name) { gchar *descr; diff --git a/ui/capture_ui_utils.h b/ui/capture_ui_utils.h index fd2a4e4b1e..5be8fe1579 100644 --- a/ui/capture_ui_utils.h +++ b/ui/capture_ui_utils.h @@ -110,15 +110,6 @@ void free_capture_combo_list(GList *combo_list); */ const char *get_if_name(const char *if_text); -/** Convert plain interface name to the displayed name in the combo box. - * - * @param if_list The list of interfaces returned by build_capture_combo_list() - * @param if_name The name of the interface. - * - * @return The descriptive name (must be g_free'd later) - */ -char *build_capture_combo_name(GList *if_list, gchar *if_name); - /** Return the interface description (after setting it if not already set) * * @param capture_opts The capture_options structure that contains the used interface -- cgit v1.2.3