diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-03-22 06:12:03 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-03-22 06:12:03 +0000 |
commit | e21ab990c5f93c1a5a801616ee317f2389650f3c (patch) | |
tree | 8b9c063304c1fa0634d8cf3de771b6810d27e998 /plugins | |
parent | 11f72f73b8998da38147cfe0f097d34125a4cb5d (diff) | |
download | wireshark-e21ab990c5f93c1a5a801616ee317f2389650f3c.tar.gz wireshark-e21ab990c5f93c1a5a801616ee317f2389650f3c.tar.bz2 wireshark-e21ab990c5f93c1a5a801616ee317f2389650f3c.zip |
Get rid of no-longer-used "tvb_section_length()" routine.
svn path=/trunk/; revision=3156
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mgcp/packet-mgcp.c | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/plugins/mgcp/packet-mgcp.c b/plugins/mgcp/packet-mgcp.c index 01a63c641b..334a188ca1 100644 --- a/plugins/mgcp/packet-mgcp.c +++ b/plugins/mgcp/packet-mgcp.c @@ -2,7 +2,7 @@ * Routines for mgcp packet disassembly * RFC 2705 * - * $Id: packet-mgcp.c,v 1.19 2001/03/15 19:46:35 oabad Exp $ + * $Id: packet-mgcp.c,v 1.20 2001/03/22 06:12:03 guy Exp $ * * Copyright (c) 2000 by Ed Warnicke <hagbard@physics.rutgers.edu> * @@ -182,8 +182,6 @@ static gint tvb_find_null_line(tvbuff_t* tvb, gint offset, gint len, gint* next_offset); static gint tvb_find_dot_line(tvbuff_t* tvb, gint offset, gint len, gint* next_offset); -static gint tvb_section_length(tvbuff_t* tvb, gint tvb_sectionbegin, - gint tvb_sectionend); static gboolean is_rfc2234_alpha(guint8 c); static dissector_handle_t sdp_handle; @@ -1243,17 +1241,6 @@ static gint tvb_find_dot_line(tvbuff_t* tvb, gint offset, return tvb_current_len; } -static gint tvb_section_length(tvbuff_t* tvb, gint tvb_sectionbegin, - gint tvb_sectionend){ - gint sectionlen,remaininglen; - - sectionlen = tvb_sectionend - tvb_sectionbegin + 1; - remaininglen = tvb_length_remaining(tvb,tvb_sectionbegin); - g_assert(sectionlen <= remaininglen); - return sectionlen; -} - - /* Start the functions we need for the plugin stuff */ G_MODULE_EXPORT void plugin_reg_handoff(void){ |