diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-01-13 22:24:54 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-01-13 22:24:54 +0000 |
commit | 4fdbf843a6281b39c06765554afb48a9ac8eead0 (patch) | |
tree | facd08c11235ce82497236da7186bfdf7058a3ce /plugins | |
parent | 4cf9cd343f61b5098a2264eb1e15e27a3ca47d55 (diff) |
dispatchService() is imported from other code; declare it in
opcua_transport_layer.h, not opcua_transport_layer.c.
svn path=/trunk/; revision=54730
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/opcua/opcua_transport_layer.c | 2 | ||||
-rw-r--r-- | plugins/opcua/opcua_transport_layer.h | 2 |
2 files changed, 1 insertions, 3 deletions
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); |