aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2020-07-06 14:50:28 +0000
committerAnders Broman <a.broman58@gmail.com>2020-07-24 12:54:19 +0000
commit08af00d7598cd4eeb274d8ff8477c535a49cc92a (patch)
treee8e373a2ac27047dcd9b1713cf6855fc103749d6 /epan
parentfc0581e032aef8100f7e2ee85a5adaea8aa4afe7 (diff)
rtps: fix no previous prototype for function
packet-rtps.c:4486:10: warning: no previous prototype for ‘union_compare’ [-Wmissing-prototypes] packet-rtps.c:4492:7: warning: no previous prototype for ‘union_hash’ [-Wmissing-prototypes] Change-Id: If5b95248fe69e5cef41693be863beef9e2fc428d Reviewed-on: https://code.wireshark.org/review/37946 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-rtps.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/epan/dissectors/packet-rtps.c b/epan/dissectors/packet-rtps.c
index dcefd6b8e7..f4e2eefb87 100644
--- a/epan/dissectors/packet-rtps.c
+++ b/epan/dissectors/packet-rtps.c
@@ -4533,16 +4533,6 @@ static gboolean compare_by_guid(gconstpointer a, gconstpointer b) {
return memcmp(guid_a, guid_b, sizeof(endpoint_guid)) == 0;
}
-gboolean union_compare(gconstpointer v1, gconstpointer v2) {
- const union_member_mapping * a = (const union_member_mapping *) v1;
- const union_member_mapping * b = (const union_member_mapping *) v2;
- return ((a->union_type_id == b->union_type_id) && (a->discriminator == b->discriminator));
-}
-
-guint union_hash (gconstpointer v) {
- return (guint) *(const guint64*) v;
-}
-
static guint coherent_set_key_hash_by_key(gconstpointer key) {
GBytes * coherent_set_object_key_bytes = NULL;
coherent_set_object_key_bytes = g_bytes_new(key, sizeof(coherent_set_key));