diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-04-30 11:03:08 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-04-30 11:03:08 +0000 |
commit | da74615c7998037094df81255d4dd3d55e36ab47 (patch) | |
tree | 112fbe771384ddfd80f3678b8b70a3afc20eb793 /packet-smb-browse.c | |
parent | a977e68fbc743f2c9669644dfae8d1567f3db6e0 (diff) |
Get rid of some unused arguments, and mark some others as unused.
Remove the declaration of "dissect_nt_sid()" from
"packet-dcerpc-samr.c"; get it by including "packet-smb-common.h",
instead.
svn path=/trunk/; revision=5313
Diffstat (limited to 'packet-smb-browse.c')
-rw-r--r-- | packet-smb-browse.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packet-smb-browse.c b/packet-smb-browse.c index 78c20975b1..588aec31b5 100644 --- a/packet-smb-browse.c +++ b/packet-smb-browse.c @@ -2,7 +2,7 @@ * Routines for SMB Browser packet dissection * Copyright 1999, Richard Sharpe <rsharpe@ns.aus.com> * - * $Id: packet-smb-browse.c,v 1.21 2002/01/24 09:20:51 guy Exp $ + * $Id: packet-smb-browse.c,v 1.22 2002/04/30 11:03:08 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -356,7 +356,7 @@ static const true_false_string tfs_os_nts = { }; static void -dissect_election_criterion_os(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int offset) +dissect_election_criterion_os(tvbuff_t *tvb, proto_tree *parent_tree, int offset) { proto_tree *tree = NULL; proto_item *item = NULL; @@ -379,7 +379,7 @@ dissect_election_criterion_os(tvbuff_t *tvb, packet_info *pinfo, proto_tree *par } static void -dissect_election_criterion_desire(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int offset) +dissect_election_criterion_desire(tvbuff_t *tvb, proto_tree *parent_tree, int offset) { proto_tree *tree = NULL; proto_item *item = NULL; @@ -408,7 +408,7 @@ dissect_election_criterion_desire(tvbuff_t *tvb, packet_info *pinfo, proto_tree } static void -dissect_election_criterion(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, int offset) +dissect_election_criterion(tvbuff_t *tvb, proto_tree *parent_tree, int offset) { proto_tree *tree = NULL; proto_item *item = NULL; @@ -422,7 +422,7 @@ dissect_election_criterion(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent } /* election desire */ - dissect_election_criterion_desire(tvb, pinfo, tree, offset); + dissect_election_criterion_desire(tvb, tree, offset); offset += 1; /* browser protocol major version */ @@ -434,7 +434,7 @@ dissect_election_criterion(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent offset += 1; /* election os */ - dissect_election_criterion_os(tvb, pinfo, tree, offset); + dissect_election_criterion_os(tvb, tree, offset); offset += 1; } @@ -665,7 +665,7 @@ dissect_mailslot_browse(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tr offset += 1; /* criterion */ - dissect_election_criterion(tvb, pinfo, tree, offset); + dissect_election_criterion(tvb, tree, offset); offset += 4; /* server uptime */ |