From a4319f3254db6c53fe925c400a6d316cf326d7f5 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Wed, 9 Sep 2020 06:06:29 +0000 Subject: ieee80211: fix Wmissing-prototypes no previous prototype for function 'add_ff_action_public_fields' [-Wmissing-prototypes] Change-Id: I8be64454a21187cf60a04c903acfbb18f2a12095 --- epan/dissectors/packet-rtps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/packet-rtps.c') diff --git a/epan/dissectors/packet-rtps.c b/epan/dissectors/packet-rtps.c index 5bbc788558..38b0e2951c 100644 --- a/epan/dissectors/packet-rtps.c +++ b/epan/dissectors/packet-rtps.c @@ -4546,7 +4546,7 @@ static gboolean compare_by_guid(gconstpointer a, gconstpointer b) { return memcmp(guid_a, guid_b, sizeof(endpoint_guid)) == 0; } -guint get_domain_id_from_tcp_discovered_participants(wmem_map_t *map, endpoint_guid* key) { +static guint get_domain_id_from_tcp_discovered_participants(wmem_map_t *map, endpoint_guid* key) { participant_info *p_info = (participant_info*)wmem_map_lookup(map, (void*)key); return (p_info != NULL) ? p_info->domainId: RTPS_UNKNOWN_DOMAIN_ID_VAL; } -- cgit v1.2.3