aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-03-20 23:37:23 +0000
committerGuy Harris <guy@alum.mit.edu>2012-03-20 23:37:23 +0000
commitd230d1663fe3c2b32673a566614e9b4bb07dbc10 (patch)
tree8c9fb86bf33abae4c28e5d78bb0d8f1a76b7f2b9 /ui
parent24298dca4870a393db284985d95647a49332870e (diff)
Just put both clear_capture_box() and fill_capture_box() under one
#ifdef HAVE_LIBPCAP/#endif. svn path=/trunk/; revision=41691
Diffstat (limited to 'ui')
-rw-r--r--ui/gtk/main_welcome.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gtk/main_welcome.c b/ui/gtk/main_welcome.c
index d0454040ed..17b5641933 100644
--- a/ui/gtk/main_welcome.c
+++ b/ui/gtk/main_welcome.c
@@ -927,8 +927,7 @@ clear_capture_box(void)
if_view = NULL;
}
}
-#endif /* HAVE_LIBPCAP */
-#ifdef HAVE_LIBPCAP
+
static void fill_capture_box(void)
{
GtkWidget *box_to_fill;