aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tvbuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'epan/tvbuff.h')
-rw-r--r--epan/tvbuff.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/epan/tvbuff.h b/epan/tvbuff.h
index 69563b495d..e68095759a 100644
--- a/epan/tvbuff.h
+++ b/epan/tvbuff.h
@@ -240,12 +240,6 @@ WS_DLL_PUBLIC gint tvb_captured_length_remaining(const tvbuff_t *tvb, const gint
WS_DLL_PUBLIC guint tvb_ensure_captured_length_remaining(const tvbuff_t *tvb,
const gint offset);
-/** Same as above, but permits offsets at the end of the tvbuff (such as an
- * offset of 0 in a tvbuff with a snapshot length of 0, which is a silly thing
- * to do but we have to be able to handle it gracefully). */
-WS_DLL_PUBLIC guint tvb_ensure_captured_length_remaining_cheat(
- const tvbuff_t *tvb, const gint offset);
-
/* DEPRECATED, do not use in new code, call tvb_ensure_captured_length_remaining directly! */
#define tvb_ensure_length_remaining tvb_ensure_captured_length_remaining