From 327f7328326d86ec6dc0cb5174d16e8c5ca42763 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Fri, 4 Mar 2016 21:22:34 +0100 Subject: MAPI (dcerpc): fix no previous prototype for 'mapi_dissect_struct_request' / 'mapi_dissect_struct_EcDoRpc_MAPI_REQ' [-Wmissing-prototypes] MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If5ff7835f931213f1b846776a3ea9dfa6a1952b1 Reviewed-on: https://code.wireshark.org/review/14352 Reviewed-by: Alexis La Goutte Petri-Dish: Alexis La Goutte Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde Reviewed-by: Anders Broman --- epan/dissectors/packet-dcerpc-mapi.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-dcerpc-mapi.c') diff --git a/epan/dissectors/packet-dcerpc-mapi.c b/epan/dissectors/packet-dcerpc-mapi.c index e6d26090b3..629c663652 100644 --- a/epan/dissectors/packet-dcerpc-mapi.c +++ b/epan/dissectors/packet-dcerpc-mapi.c @@ -3988,7 +3988,7 @@ static int mapi_dissect_element_request_handles_cnf(tvbuff_t *tvb _U_, int offse } return offset; } -int +static int mapi_dissect_struct_EcDoRpc_MAPI_REQ(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_) { proto_item *item = NULL; @@ -4086,7 +4086,8 @@ static int mapi_dissect_element_EcDoRpc_request__(tvbuff_t *tvb _U_, int offset } return offset; } -int +/* +static int mapi_dissect_struct_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *parent_tree _U_, dcerpc_info* di _U_, guint8 *drep _U_, int hf_index _U_, guint32 param _U_) { proto_item *item = NULL; @@ -4098,6 +4099,7 @@ mapi_dissect_struct_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinf offset = mapi_dissect_struct_EcDoRpc_MAPI_REQ(tvb, offset, pinfo, tree, di, drep, hf_mapi_mapi_request_mapi_req, 0); return offset; } +*/ /*************************/ /* EcDoRpc Function 0x2 */ static int -- cgit v1.2.3