Removed unneeded 'color' field from header_field_info.
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 14 Aug 1999 01:26:39 +0000 (01:26 +0000)
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 14 Aug 1999 01:26:39 +0000 (01:26 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@482 f5534014-38df-0310-8fa8-9805f1628bb7

proto.c
proto.h

diff --git a/proto.c b/proto.c
index 3c37ec2cc5d8ada55bc07cd23072f97ccd160b93..c8e7a51cab4223de53d5db775d06f7818ebf81f0 100644 (file)
--- a/proto.c
+++ b/proto.c
@@ -1,7 +1,7 @@
 /* proto.c
  * Routines for protocol tree
  *
- * $Id: proto.c,v 1.14 1999/08/13 23:47:43 gram Exp $
+ * $Id: proto.c,v 1.15 1999/08/14 01:26:38 gram Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -496,7 +496,6 @@ proto_register_field_init(header_field_info *hfinfo, int parent)
                hfinfo->type == FT_VALS_UINT24 || hfinfo->type == FT_VALS_UINT32));
 
        hfinfo->parent = parent;
-       hfinfo->color = 0;
 
        /* if we always add and never delete, then id == len - 1 is correct */
        g_ptr_array_add(gpa_hfinfo, hfinfo);
diff --git a/proto.h b/proto.h
index 3d436c4fa1a1858a52d563a5a48c97e894b532cb..ef317aa17f63c4d6d4267f882415f2ddedd4c0d7 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -1,7 +1,7 @@
 /* proto.h
  * Definitions for protocol display
  *
- * $Id: proto.h,v 1.5 1999/08/01 04:28:09 gram Exp $
+ * $Id: proto.h,v 1.6 1999/08/14 01:26:39 gram Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -81,7 +81,6 @@ typedef struct header_field_info {
        struct value_string             *vals;
        int                             id; /* assigned by order of registration */
        int                             parent; /* parent protocol */
-       int                             color;  /* for use by GUI code */
 } header_field_info;
 
 /* Used when registering many fields at once */