aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb-common.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-04-30 11:03:08 +0000
committerGuy Harris <guy@alum.mit.edu>2002-04-30 11:03:08 +0000
commitda74615c7998037094df81255d4dd3d55e36ab47 (patch)
tree112fbe771384ddfd80f3678b8b70a3afc20eb793 /packet-smb-common.c
parenta977e68fbc743f2c9669644dfae8d1567f3db6e0 (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-common.c')
-rw-r--r--packet-smb-common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-smb-common.c b/packet-smb-common.c
index c15c6f7df8..201c09bf12 100644
--- a/packet-smb-common.c
+++ b/packet-smb-common.c
@@ -2,7 +2,7 @@
* Common routines for smb packet dissection
* Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com>
*
- * $Id: packet-smb-common.c,v 1.8 2002/01/24 09:20:51 guy Exp $
+ * $Id: packet-smb-common.c,v 1.9 2002/04/30 11:03:08 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -27,7 +27,7 @@
#include "packet-smb-common.h"
-int display_ms_string(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int hf_index)
+int display_ms_string(tvbuff_t *tvb, proto_tree *tree, int offset, int hf_index)
{
char *str;
int len;
@@ -59,7 +59,7 @@ int display_ms_string(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int o
}
-int display_unicode_string(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, int hf_index)
+int display_unicode_string(tvbuff_t *tvb, proto_tree *tree, int offset, int hf_index)
{
/* display a unicode string from the tree and return new offset */
@@ -84,7 +84,7 @@ int display_unicode_string(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
}
int
-dissect_smb_unknown(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
+dissect_smb_unknown(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
{
/* display data as unknown */