summaryrefslogtreecommitdiff
path: root/epan/tvbuff.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-07-23 17:23:51 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-07-23 17:23:51 +0000
commit761b763eaea8802313c0ad414c68509e29c901e8 (patch)
tree5c9a112ad750794d0c03af75125ed3b22c6ab346 /epan/tvbuff.c
parent3808dfc909b3e776de9dd36024cf6956f0e124ad (diff)
downloadwireshark-761b763eaea8802313c0ad414c68509e29c901e8.tar.gz
Move tvb_new_child_real_data() to tvbuff_real.c with some cleanup
svn path=/trunk/; revision=50843
Diffstat (limited to 'epan/tvbuff.c')
-rw-r--r--epan/tvbuff.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/epan/tvbuff.c b/epan/tvbuff.c
index 5e4bee8dcc..c95c2d6199 100644
--- a/epan/tvbuff.c
+++ b/epan/tvbuff.c
@@ -163,17 +163,6 @@ tvb_add_to_chain(tvbuff_t *parent, tvbuff_t *child)
parent->next = child;
}
-tvbuff_t *
-tvb_new_child_real_data(tvbuff_t *parent, const guint8* data, const guint length, const gint reported_length)
-{
- tvbuff_t *tvb = tvb_new_real_data(data, length, reported_length);
- if (tvb) {
- tvb_set_child_real_data_tvbuff (parent, tvb);
- }
-
- return tvb;
-}
-
/*
* Check whether that offset goes more than one byte past the
* end of the buffer.