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
This commit is contained in:
Guy Harris 2000-02-12 08:42:28 +00:00
parent 55c8a368b8
commit 258da28261
2 changed files with 3 additions and 5 deletions

View File

@ -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 <gerald@zing.org>
@ -30,7 +30,6 @@
#include <gtk/gtk.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
@ -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);

View File

@ -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 <gerald@zing.org>
@ -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;