aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-11-20 22:46:12 +0000
committerGuy Harris <guy@alum.mit.edu>2001-11-20 22:46:12 +0000
commit0d7f3e614fa7f942c85caddb2d4e5806fbd025e3 (patch)
tree6bef668514f04e680b26f4d8ed4af41eaab8f786 /epan/tvbuff.h
parent2f10c7f6304036dee28e5e3a0ad9af7db049903d (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.h')
-rw-r--r--epan/tvbuff.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h
index 4c9f95284a..08403b5011 100644
--- a/epan/tvbuff.h
+++ b/epan/tvbuff.h
@@ -9,7 +9,7 @@
* the data of a backing tvbuff, or can be a composite of
* other tvbuffs.
*
- * $Id: tvbuff.h,v 1.19 2001/11/15 10:58:51 guy Exp $
+ * $Id: tvbuff.h,v 1.20 2001/11/20 22:46:12 guy Exp $
*
* Copyright (c) 2000 by Gilbert Ramirez <gram@alumni.rice.edu>
*
@@ -216,8 +216,7 @@ extern gint tvb_reported_length_remaining(tvbuff_t *tvb, gint offset);
Also adjusts the data length. */
extern void tvb_set_reported_length(tvbuff_t*, guint);
-/* Returns the offset from the first byte of real data. This is
- * the same value as 'offset' in tvb_compat() */
+/* Returns the offset from the first byte of real data. */
extern gint tvb_raw_offset(tvbuff_t*);
/************** START OF ACCESSORS ****************/
@@ -381,10 +380,4 @@ extern gchar *tvb_get_name(tvbuff_t *tvb);
/************** END OF ACCESSORS ****************/
-/* Sets pd and offset so that tvbuff's can be used with code
- * that only understands pd/offset and not tvbuffs.
- * This is the "compatibility" function */
-/* XXX - we need to get rid of the last uses of this */
-void tvb_compat(tvbuff_t*, const guint8 **pd, int *offset);
-
#endif /* __TVBUFF_H__ */