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

gnrc_netif: constify group parameter

This commit is contained in:
Benjamin Valentin 2022-11-17 18:11:46 +01:00 committed by Benjamin Valentin
parent eea954cc22
commit ba857582a3

View File

@ -593,7 +593,7 @@ static inline int gnrc_netif_ipv6_groups_get(const gnrc_netif_t *netif,
* @return -ENOTSUP, if @p netif doesn't support IPv6.
*/
static inline int gnrc_netif_ipv6_group_join(const gnrc_netif_t *netif,
ipv6_addr_t *group)
const ipv6_addr_t *group)
{
assert(netif != NULL);
assert(group != NULL);
@ -615,7 +615,7 @@ static inline int gnrc_netif_ipv6_group_join(const gnrc_netif_t *netif,
* @return -ENOTSUP, if @p netif doesn't support IPv6.
*/
static inline int gnrc_netif_ipv6_group_leave(const gnrc_netif_t *netif,
ipv6_addr_t *group)
const ipv6_addr_t *group)
{
assert(netif != NULL);
assert(group != NULL);