summaryrefslogtreecommitdiff
path: root/epan/tvbuff-int.h
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-08-04 22:02:42 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-08-04 22:02:42 +0000
commitb67492bbc0db4f1ea6f4376846d3fca08773660b (patch)
tree87e7465583f7daa7184a5caff169264d3084be7d /epan/tvbuff-int.h
parentaf134c29ca0294247b49621fb973ff394a8a977d (diff)
downloadwireshark-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.h2
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);