aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/capture_ui_utils.c2
-rw-r--r--ui/capture_ui_utils.h9
2 files changed, 1 insertions, 10 deletions
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