Extend coverage of #ifdef HAVE_PCAP_REMOTE to cover the static function insert_new_ro...
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 30 Nov 2011 09:47:10 +0000 (09:47 +0000)
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 30 Nov 2011 09:47:10 +0000 (09:47 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40047 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/capture_dlg.c

index 7aced0e565aa7043d260596201fbb1c4a0ee960d..4385b03cf4ef582a591d3b6decd371ab5806c61c 100644 (file)
@@ -795,7 +795,6 @@ error_list_remote_interface_cb (gpointer dialog _U_, gint btn _U_, gpointer data
 {
   capture_remote_cb(GTK_WIDGET(data), FALSE);
 }
-#endif
 
 static void 
 insert_new_rows(GList *list)
@@ -995,7 +994,6 @@ insert_new_rows(GList *list)
   gtk_tree_view_set_model(GTK_TREE_VIEW(if_cb), model);
 }
 
-#ifdef HAVE_PCAP_REMOTE
 /* Retrieve the list of local or remote interfaces according to selected
  * options and re-fill interface name combobox */
 static void