1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #7911 from x3ro/fix-gnrc-ipv6-nib-6ln

tests/gnrc_ipv6_nib_6ln: Fix error w/ clang on macOS
This commit is contained in:
Martine Lenders 2017-11-07 17:39:24 +01:00 committed by GitHub
commit de591ca1c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -540,6 +540,7 @@ static void _handle_nbr_adv(kernel_pid_t iface, const ipv6_hdr_t *ipv6,
}
}
#if GNRC_IPV6_NIB_CONF_ARSM
static inline bool _is_reachable(_nib_onl_entry_t *entry)
{
(void)entry; /* _get_nud_state() might just resolved to UNMANAGED as macro */
@ -551,6 +552,7 @@ static inline bool _is_reachable(_nib_onl_entry_t *entry)
return true;
}
}
#endif
#if GNRC_IPV6_NIB_CONF_QUEUE_PKT
static gnrc_pktqueue_t *_alloc_queue_entry(gnrc_pktsnip_t *pkt)