From 258da282616efa796ad4e1ec12dab2d9067bb8a2 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 12 Feb 2000 08:42:28 +0000 Subject: [PATCH] Remove some unnecessary includes from "gtk/color_dlg.c" and "gtk/colors.c", and make "gtk/color_dlg.c" include "gtk/color_dlg.h" to make sure compilation checks the declaration of the routines with their definitions. svn path=/trunk/; revision=1623 --- gtk/color_dlg.c | 5 ++--- gtk/colors.c | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/gtk/color_dlg.c b/gtk/color_dlg.c index dcba7ae543..00eed8bed4 100644 --- a/gtk/color_dlg.c +++ b/gtk/color_dlg.c @@ -1,7 +1,7 @@ /* color_dlg.c * Definitions for dialog boxes for color filters * - * $Id: color_dlg.c,v 1.1 2000/02/12 08:31:45 guy Exp $ + * $Id: color_dlg.c,v 1.2 2000/02/12 08:42:26 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -30,7 +30,6 @@ #include #include -#include #include #include @@ -39,11 +38,11 @@ #include "gtk/main.h" #include "packet.h" #include "colors.h" +#include "color_dlg.h" #include "file.h" #include "dfilter.h" #include "simple_dialog.h" #include "ui_util.h" -#include "util.h" static GtkWidget* colorize_dialog_new(colfilter *filter); static void add_filter_to_clist(gpointer filter_arg, gpointer clist_arg); diff --git a/gtk/colors.c b/gtk/colors.c index 0c492eb2ca..5fce30e68a 100644 --- a/gtk/colors.c +++ b/gtk/colors.c @@ -1,7 +1,7 @@ /* colors.c * Definitions for color structures and routines * - * $Id: colors.c,v 1.2 2000/02/12 08:31:47 guy Exp $ + * $Id: colors.c,v 1.3 2000/02/12 08:42:28 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -42,7 +42,6 @@ #include "file.h" #include "dfilter.h" #include "simple_dialog.h" -#include "ui_util.h" #include "util.h" extern capture_file cf;