From 00fcdc09007d6c65257c8a00693d93046977fcb3 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sun, 28 Jan 2001 23:56:29 +0000 Subject: There's no need for a member of a "capture_file" structure holding a compiled capture filter program, so remove it, and remove the include of from "file.h"; instead, have local "struct bpf_program" structures where needed, and have those files that need stuff from include it. This cleans stuff up a bit, and should eliminate a pile of compile warnings with Visual C++ due to and some GTK+/GLib header file (or files they include) both defining "inline". svn path=/trunk/; revision=2954 --- gtk/capture_dlg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gtk/capture_dlg.c') diff --git a/gtk/capture_dlg.c b/gtk/capture_dlg.c index 8ed93d9077..1ae2796beb 100644 --- a/gtk/capture_dlg.c +++ b/gtk/capture_dlg.c @@ -1,7 +1,7 @@ /* capture_dlg.c * Routines for packet capture windows * - * $Id: capture_dlg.c,v 1.36 2001/01/02 01:32:21 guy Exp $ + * $Id: capture_dlg.c,v 1.37 2001/01/28 23:56:29 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -41,6 +41,8 @@ #include +#include + #ifdef NEED_SNPRINTF_H # include "snprintf.h" #endif -- cgit v1.2.3