aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-02-12 08:42:28 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-02-12 08:42:28 +0000
commit242f003219851c9e8dd932de508f9e5764658c8b (patch)
tree5c55624e3b4b534c1a0e04b839e6cb7a64de1bd1 /gtk
parente5497425c291130b81c7bdf7a9d9abc1e770aac6 (diff)
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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@1623 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk')
-rw-r--r--gtk/color_dlg.c5
-rw-r--r--gtk/colors.c3
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 <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);
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 <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;