aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2007-05-22 13:17:24 +0000
committerJörg Mayer <jmayer@loplof.de>2007-05-22 13:17:24 +0000
commit21adfc3029c13191804e47dd732969143b7d2003 (patch)
tree07a4dfe07e49e99b33faad4ec6fc3b701f6a214f /plugins
parente14af5a5774905c107c8a2428e141cd89e07b13f (diff)
Trivial warning fixes:
opcua: warning: function declaration isn't a prototype rest: comma at end of enumerator svn path=/trunk/; revision=21885
Diffstat (limited to 'plugins')
-rw-r--r--plugins/opcua/opcua_complextypeparser.c2
-rw-r--r--plugins/opcua/opcua_complextypeparser.h2
-rw-r--r--plugins/opcua/opcua_serviceparser.c2
-rw-r--r--plugins/opcua/opcua_serviceparser.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/plugins/opcua/opcua_complextypeparser.c b/plugins/opcua/opcua_complextypeparser.c
index dc1034fb43..11efbf3cff 100644
--- a/plugins/opcua/opcua_complextypeparser.c
+++ b/plugins/opcua/opcua_complextypeparser.c
@@ -1742,7 +1742,7 @@ static gint *ett[] =
&ett_opcua_TransferResult,
};
-void registerComplexTypes()
+void registerComplexTypes(void)
{
proto_register_subtree_array(ett, array_length(ett));
}
diff --git a/plugins/opcua/opcua_complextypeparser.h b/plugins/opcua/opcua_complextypeparser.h
index cb689d94e1..ad05992caa 100644
--- a/plugins/opcua/opcua_complextypeparser.h
+++ b/plugins/opcua/opcua_complextypeparser.h
@@ -150,4 +150,4 @@ void parseNotificationMessage(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, ch
void parseMonitoredItemNotification(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, char *szFieldName);
void parseDataChangeNotification(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, char *szFieldName);
void parseTransferResult(proto_tree *tree, tvbuff_t *tvb, gint *pOffset, char *szFieldName);
-void registerComplexTypes();
+void registerComplexTypes(void);
diff --git a/plugins/opcua/opcua_serviceparser.c b/plugins/opcua/opcua_serviceparser.c
index b8bed4dec5..4efba325a8 100644
--- a/plugins/opcua/opcua_serviceparser.c
+++ b/plugins/opcua/opcua_serviceparser.c
@@ -977,7 +977,7 @@ static gint *ett[] =
&ett_opcua_DeleteSubscriptionsResponse,
};
-void registerServiceTypes()
+void registerServiceTypes(void)
{
proto_register_subtree_array(ett, array_length(ett));
}
diff --git a/plugins/opcua/opcua_serviceparser.h b/plugins/opcua/opcua_serviceparser.h
index c1db9f4178..b6b57d1f75 100644
--- a/plugins/opcua/opcua_serviceparser.h
+++ b/plugins/opcua/opcua_serviceparser.h
@@ -104,4 +104,4 @@ void parseTransferSubscriptionsRequest(proto_tree *tree, tvbuff_t *tvb, gint *pO
void parseTransferSubscriptionsResponse(proto_tree *tree, tvbuff_t *tvb, gint *pOffset);
void parseDeleteSubscriptionsRequest(proto_tree *tree, tvbuff_t *tvb, gint *pOffset);
void parseDeleteSubscriptionsResponse(proto_tree *tree, tvbuff_t *tvb, gint *pOffset);
-void registerServiceTypes();
+void registerServiceTypes(void);