Add a stub set_capture_if_dialog_for_capture_in_progress() routine when
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 12 Apr 2008 21:30:38 +0000 (21:30 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 12 Apr 2008 21:30:38 +0000 (21:30 +0000)
HAVE_LIBPCAP isn't defined, as it's called even when it's not defined.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24958 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/capture_if_dlg.c

index 60ff2b818c9c3d719aedf1054881d0304b87799f..23916729ba74adc5693c3027b206c4240ab58c2e 100644 (file)
@@ -667,5 +667,11 @@ capture_if_cb(GtkWidget *w _U_, gpointer d _U_)
   timer_id = gtk_timeout_add(1000, update_all, sc);
 }
 
+#else /* HAVE_LIBPCAP */
+
+void
+set_capture_if_dialog_for_capture_in_progress(gboolean capture_in_progress _U_)
+{
+}
 
 #endif /* HAVE_LIBPCAP */