diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-20 22:46:12 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-20 22:46:12 +0000 |
commit | 0d7f3e614fa7f942c85caddb2d4e5806fbd025e3 (patch) | |
tree | 6bef668514f04e680b26f4d8ed4af41eaab8f786 /epan/tvbuff.c | |
parent | 2f10c7f6304036dee28e5e3a0ad9af7db049903d (diff) |
Get rid of "tvb_compat()"; it's no longer needed (the one remaining call
to it returns data that's no longer used).
svn path=/trunk/; revision=4237
Diffstat (limited to 'epan/tvbuff.c')
-rw-r--r-- | epan/tvbuff.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/epan/tvbuff.c b/epan/tvbuff.c index 471c3bcc8f..549a6c90aa 100644 --- a/epan/tvbuff.c +++ b/epan/tvbuff.c @@ -9,7 +9,7 @@ * the data of a backing tvbuff, or can be a composite of * other tvbuffs. * - * $Id: tvbuff.c,v 1.25 2001/11/13 23:55:37 gram Exp $ + * $Id: tvbuff.c,v 1.26 2001/11/20 22:46:12 guy Exp $ * * Copyright (c) 2000 by Gilbert Ramirez <gram@alumni.rice.edu> * @@ -734,15 +734,6 @@ tvb_raw_offset(tvbuff_t *tvb) return tvb->raw_offset; } -void -tvb_compat(tvbuff_t *tvb, const guint8 **pd, int *offset) -{ - g_assert(tvb->initialized); - *pd = first_real_data_ptr(tvb); - *offset = tvb_raw_offset(tvb); -} - - static guint8* composite_ensure_contiguous(tvbuff_t *tvb, guint abs_offset, guint abs_length) { |