From 60f385ac019e440d7892bd83c7ecfe6787d6b02a Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 1 Oct 1999 21:52:03 +0000 Subject: Move the definitions of "sync_mode", "sync_pipe", "fork_mode", "quit_after_cap", and "capture_child" from "gtk/main.c" to "capture.c", so that the definitions don't have to be duplicated in "main.c" for other UIs if, as, and when we do versions of Ethereal with other UIs. svn path=/trunk/; revision=746 --- gtk/main.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'gtk') diff --git a/gtk/main.c b/gtk/main.c index f7d9400855..4ba85d1885 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -1,6 +1,6 @@ /* main.c * - * $Id: main.c,v 1.12 1999/09/30 07:19:35 guy Exp $ + * $Id: main.c,v 1.13 1999/10/01 21:52:03 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -113,14 +113,6 @@ ts_type timestamp_type = RELATIVE; GtkStyle *item_style; -#ifdef HAVE_LIBPCAP -int sync_mode; /* fork a child to do the capture, and sync between them */ -int sync_pipe[2]; /* used to sync father */ -int fork_mode; /* fork a child to do the capture */ -int quit_after_cap; /* Makes a "capture only mode". Implies -k */ -gboolean capture_child; /* if this is the child for "-F"/"-S" */ -#endif - /* Specifies byte offsets for object selected in tree */ static gint tree_selected_start=-1, tree_selected_len=-1; -- cgit v1.2.3