diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-12-03 09:28:26 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-12-03 09:28:26 +0000 |
commit | dcd98ae8d334081d0b4e0f4c6902ac128dfeb000 (patch) | |
tree | 1d14652d65d1690cfc1980777b9bc90aac75b4c2 /epan/proto.h | |
parent | ed2ae2d8d3eb9bdf13562825d28a7a60869b5c56 (diff) |
The "ptr_u" unions no longer have a "next" pointer - they now just have
one member - or have one that's not used, so get rid of those unions.
svn path=/trunk/; revision=9151
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/epan/proto.h b/epan/proto.h index cd557a5e67..9c0d3fa55e 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -1,7 +1,7 @@ /* proto.h * Definitions for protocol display * - * $Id: proto.h,v 1.50 2003/12/03 08:53:36 guy Exp $ + * $Id: proto.h,v 1.51 2003/12/03 09:28:22 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -109,14 +109,7 @@ typedef struct _item_label_t { /* Contains the field information for the proto_item. */ typedef struct field_info { - union { - /* the next pointer is only used when keeping track of - * free (unallocated) field_infos. Such field_info's - * are never associated with a header_field_info. - */ - struct field_info *next; - header_field_info *hfinfo; - } ptr_u; + header_field_info *hfinfo; gint start; gint length; gint tree_type; /* ETT_* */ |