add const qualifier to tests that require it

This commit is contained in:
Afonso Oliveira 2018-09-08 01:14:22 +01:00
parent a3ccbbe994
commit f6fff896fc

View File

@ -94,7 +94,7 @@ set_global_address(void)
#if RPL_WITH_STORING
uint8_t should_blink = 1;
static void
route_callback(int event, uip_ipaddr_t *route, uip_ipaddr_t *ipaddr, int num_routes)
route_callback(int event, const uip_ipaddr_t *route, const uip_ipaddr_t *ipaddr, int num_routes)
{
if(event == UIP_DS6_NOTIFICATION_DEFRT_ADD) {
should_blink = 0;