From b67492bbc0db4f1ea6f4376846d3fca08773660b Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Sun, 4 Aug 2013 22:02:42 +0000 Subject: 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 --- epan/tvbuff-int.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/tvbuff-int.h') 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); -- cgit v1.2.3