aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2020-07-06 13:34:06 +0000
committerAnders Broman <a.broman58@gmail.com>2020-07-06 14:50:14 +0000
commitfc3a9d33288a40ae809bde1ef783374939634aaf (patch)
tree95a2d31f3178654fba79ec8e773c5f3eabe531b4
parent9c5b15a8f471dfa7388d9eed4cd5ea7b2c2d9be4 (diff)
enip: fix no previous prototype for function
packet-enip.c:1102:19: warning: no previous prototype for ‘create_connection_id_list’ [-Wmissing-prototypes] Change-Id: I6e0caa29f5617a5688cddaa4d8001a260228294e Reviewed-on: https://code.wireshark.org/review/37740 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-enip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-enip.c b/epan/dissectors/packet-enip.c
index be6410cb77..0773eff15c 100644
--- a/epan/dissectors/packet-enip.c
+++ b/epan/dissectors/packet-enip.c
@@ -1099,7 +1099,7 @@ enip_conn_hash (gconstpointer v)
}
// Create a list of connection IDs and attach it to the conversation.
-enip_conv_info_t* create_connection_id_list(conversation_t* conversation)
+static enip_conv_info_t* create_connection_id_list(conversation_t* conversation)
{
enip_conv_info_t* enip_info = wmem_new(wmem_file_scope(), enip_conv_info_t);
enip_info->O2TConnIDs = wmem_tree_new(wmem_file_scope());