diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-08-04 22:02:42 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-08-04 22:02:42 +0000 |
commit | b67492bbc0db4f1ea6f4376846d3fca08773660b (patch) | |
tree | 87e7465583f7daa7184a5caff169264d3084be7d /epan/tvbuff-int.h | |
parent | af134c29ca0294247b49621fb973ff394a8a977d (diff) | |
download | wireshark-b67492bbc0db4f1ea6f4376846d3fca08773660b.tar.gz |
Cleanup tvb
- make tvb_ops->tvb_size a gsize field, not function call
- remove not needed forward declaration / forward line
svn path=/trunk/; revision=51141
Diffstat (limited to 'epan/tvbuff-int.h')
-rw-r--r-- | epan/tvbuff-int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/tvbuff-int.h b/epan/tvbuff-int.h index e828af7647..e57d176528 100644 --- a/epan/tvbuff-int.h +++ b/epan/tvbuff-int.h @@ -29,7 +29,7 @@ struct tvbuff; struct tvb_ops { - gsize (*tvb_size)(void); + gsize tvb_size; void (*tvb_free)(struct tvbuff *tvb); guint (*tvb_offset)(const struct tvbuff *tvb, guint counter); const guint8 *(*tvb_get_ptr)(struct tvbuff *tvb, guint abs_offset, guint abs_length); |