diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-11 09:38:03 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2002-04-11 09:38:03 +0000 |
commit | 821db4cef65aedad662e0760044d07ca6ff053c0 (patch) | |
tree | 3c50b706d19afcc06755df1e4463188e6b6f268d /packet-v120.c | |
parent | 1a2c28b7be2ceea1a160c22e96d454b48d6b043b (diff) |
From Joerg Mayer: get rid of some unused arguments, and make some
routines not used outside the file in which they're defined static.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5144 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-v120.c')
-rw-r--r-- | packet-v120.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-v120.c b/packet-v120.c index f69fb70d04..45f483f507 100644 --- a/packet-v120.c +++ b/packet-v120.c @@ -2,7 +2,7 @@ * Routines for v120 frame disassembly * Bert Driehuis <driehuis@playbeing.org> * - * $Id: packet-v120.c,v 1.25 2002/04/09 08:15:02 guy Exp $ + * $Id: packet-v120.c,v 1.26 2002/04/11 09:38:03 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -49,7 +49,7 @@ static gint ett_v120_header = -1; static dissector_handle_t data_handle; -static int dissect_v120_header(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree); +static int dissect_v120_header(tvbuff_t *tvb, int offset, proto_tree *tree); static void dissect_v120(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) @@ -138,7 +138,7 @@ dissect_v120(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (tree) { v120len = 2 + XDLC_CONTROL_LEN(control, TRUE); if (tvb_bytes_exist(tvb, v120len, 1)) - v120len += dissect_v120_header(tvb, v120len, pinfo, v120_tree); + v120len += dissect_v120_header(tvb, v120len, v120_tree); proto_item_set_len(ti, v120len); next_tvb = tvb_new_subset(tvb, v120len, -1, -1); call_dissector(data_handle,next_tvb, pinfo, v120_tree); @@ -146,7 +146,7 @@ dissect_v120(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } static int -dissect_v120_header(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree) +dissect_v120_header(tvbuff_t *tvb, int offset, proto_tree *tree) { char info[80]; int header_len, nbits; |