diff options
-rw-r--r-- | capture_ui_utils.c | 2 | ||||
-rw-r--r-- | capture_ui_utils.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/capture_ui_utils.c b/capture_ui_utils.c index 53740237b2..b1307e79fa 100644 --- a/capture_ui_utils.c +++ b/capture_ui_utils.c @@ -270,7 +270,7 @@ free_capture_combo_list(GList *combo_list) * interface description, extract the interface name. */ char * -get_if_name(char *if_text) +get_if_name(const char *if_text) { char *if_name; diff --git a/capture_ui_utils.h b/capture_ui_utils.h index e3b7bf7dc5..a06a2db7e6 100644 --- a/capture_ui_utils.h +++ b/capture_ui_utils.h @@ -65,7 +65,7 @@ void free_capture_combo_list(GList *combo_list); * * @return The raw interface name, without description (must NOT be g_free'd later) */ -char *get_if_name(char *if_text); +char *get_if_name(const char *if_text); /** Convert plain interface name to the displayed name in the combo box. * |