diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-15 10:58:51 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-15 10:58:51 +0000 |
commit | 4a5538085f12bd4ac0bf32742d1095bbe4ca0ab6 (patch) | |
tree | 6b901d4ee43f2ce7a163c3a3a064daec26068398 /epan/proto.h | |
parent | dc1ac349f9600ff39b79a0e8fcade093f3b58cca (diff) | |
download | wireshark-4a5538085f12bd4ac0bf32742d1095bbe4ca0ab6.tar.gz |
Get rid of NullTVB, the "compat_top_tvb" member of the "packet_info"
structure, the check for a null tvbuff pointer in "alloc_field_info()",
and the "tvb_create_from_top()" macro; they're no longer needed, as
there's no non-tvbuffified dissector code remaining.
svn path=/trunk/; revision=4205
Diffstat (limited to 'epan/proto.h')
-rw-r--r-- | epan/proto.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/proto.h b/epan/proto.h index 5153e0695e..9721ba1cc0 100644 --- a/epan/proto.h +++ b/epan/proto.h @@ -1,7 +1,7 @@ /* proto.h * Definitions for protocol display * - * $Id: proto.h,v 1.19 2001/10/31 07:47:26 guy Exp $ + * $Id: proto.h,v 1.20 2001/11/15 10:58:51 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -118,9 +118,6 @@ typedef struct field_info { } field_info; -/* For use while converting dissectors to use tvbuff's */ -#define NullTVB NULL - /* Sets up memory used by proto routines. Called at program startup */ extern void proto_init(const char *plugin_dir, void (register_all_protocols)(void), void (register_all_handoffs)(void)); |