aboutsummaryrefslogtreecommitdiffstats
path: root/packet-dcerpc-nt.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-11-28 21:03:36 +0000
committerGuy Harris <guy@alum.mit.edu>2002-11-28 21:03:36 +0000
commit0e050b1107790bf4774e9059e6639f6706c5291b (patch)
tree68aa4f0b3ddf8c5b371242eaee8176a84b2e8445 /packet-dcerpc-nt.h
parentca642e12bacebdbc643ef95da07e7795534cefc6 (diff)
Get rid of the "pdata" argument to "dissect_dcerpc_uint16s()" and
"dissect_ndr_uint16s()"; "dissect_ndr_uint16s()" is always passed a null pointer, "dissect_dcerpc_uint16s()" is only called by "dissect_ndr_uint16s()", and the pointer returned through "pdata" is *NOT* guaranteed to be aligned on a 16-bit boundary so we don't want to tempt people to blithely dereference that pointer. svn path=/trunk/; revision=6699
Diffstat (limited to 'packet-dcerpc-nt.h')
-rw-r--r--packet-dcerpc-nt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/packet-dcerpc-nt.h b/packet-dcerpc-nt.h
index e5d5e7d456..d0d70724d5 100644
--- a/packet-dcerpc-nt.h
+++ b/packet-dcerpc-nt.h
@@ -2,7 +2,7 @@
* Routines for DCERPC over SMB packet disassembly
* Copyright 2001, Tim Potter <tpot@samba.org>
*
- * $Id: packet-dcerpc-nt.h,v 1.31 2002/11/28 03:57:50 guy Exp $
+ * $Id: packet-dcerpc-nt.h,v 1.32 2002/11/28 21:03:36 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -203,11 +203,11 @@ int dissect_ndr_uint8s(tvbuff_t *tvb, gint offset, packet_info *pinfo,
int dissect_dcerpc_uint16s(tvbuff_t *tvb, gint offset, packet_info *pinfo,
proto_tree *tree, char *drep,
- int hfindex, int length, const guint16 **pdata);
+ int hfindex, int length);
int dissect_ndr_uint16s(tvbuff_t *tvb, gint offset, packet_info *pinfo,
proto_tree *tree, char *drep,
- int hfindex, int length, const guint16 **pdata);
+ int hfindex, int length);
/* Dissect an NT access mask */