From 4fdbf843a6281b39c06765554afb48a9ac8eead0 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 13 Jan 2014 22:24:54 +0000 Subject: dispatchService() is imported from other code; declare it in opcua_transport_layer.h, not opcua_transport_layer.c. svn path=/trunk/; revision=54730 --- plugins/opcua/opcua_transport_layer.c | 2 -- plugins/opcua/opcua_transport_layer.h | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/opcua') diff --git a/plugins/opcua/opcua_transport_layer.c b/plugins/opcua/opcua_transport_layer.c index 23a5100bf5..2f1d949688 100644 --- a/plugins/opcua/opcua_transport_layer.c +++ b/plugins/opcua/opcua_transport_layer.c @@ -30,8 +30,6 @@ #include "opcua_simpletypes.h" #include "opcua_transport_layer.h" -void dispatchService(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, int ServiceId); - static int hf_opcua_transport_type = -1; static int hf_opcua_transport_chunk = -1; static int hf_opcua_transport_size = -1; diff --git a/plugins/opcua/opcua_transport_layer.h b/plugins/opcua/opcua_transport_layer.h index 869380292c..ae3f41782e 100644 --- a/plugins/opcua/opcua_transport_layer.h +++ b/plugins/opcua/opcua_transport_layer.h @@ -30,4 +30,4 @@ int parseService(proto_tree *tree, tvbuff_t *tvb, gint *pOffset); int parseOpenSecureChannel(proto_tree *tree, tvbuff_t *tvb, gint *pOffset); int parseCloseSecureChannel(proto_tree *tree, tvbuff_t *tvb, gint *pOffset); void registerTransportLayerTypes(int proto); - +void dispatchService(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, int ServiceId); -- cgit v1.2.3