diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-10 19:25:49 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-07-10 19:25:49 +0000 |
commit | 338f1c9654219984c7eb42d0131bd2b04c12d182 (patch) | |
tree | db42ec19167298c2870e161add6def46aeac7171 /epan/tvbuff-int.h | |
parent | d7175365ab6880cf0e7ef93e9e2b2331b94a7b48 (diff) |
tvbuff: remove ->tvb_init() from ops
->tvb_init() knows nothing about new tvb and can only do some kind of bzero()
it's much better if we initialize object after tvb_new() [which anyway must be done]
+ try to fix OSX build.
svn path=/trunk/; revision=50490
Diffstat (limited to 'epan/tvbuff-int.h')
-rw-r--r-- | epan/tvbuff-int.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/epan/tvbuff-int.h b/epan/tvbuff-int.h index c1964bcdf7..2aee4c16a2 100644 --- a/epan/tvbuff-int.h +++ b/epan/tvbuff-int.h @@ -30,7 +30,6 @@ struct tvbuff; struct tvb_ops { gsize (*tvb_size)(void); - void (*tvb_init)(struct tvbuff *tvb); 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); |