diff --git a/src/core/stats.c b/src/core/stats.c index e218d692..66f5c88d 100644 --- a/src/core/stats.c +++ b/src/core/stats.c @@ -113,9 +113,9 @@ stats_display_mem(struct stats_mem *mem, const char *name) #if MEMP_STATS void -stats_display_memp(struct stats_mem *mem, int index) +stats_display_memp(struct stats_mem *mem, int idx) { - if (index < MEMP_MAX) { + if (idx < MEMP_MAX) { stats_display_mem(mem, mem->name); } } diff --git a/src/include/netif/lowpan6.h b/src/include/netif/lowpan6.h index 4174644b..7020e0dc 100644 --- a/src/include/netif/lowpan6.h +++ b/src/include/netif/lowpan6.h @@ -60,7 +60,7 @@ extern "C" { void lowpan6_tmr(void); -err_t lowpan6_set_context(u8_t index, const ip6_addr_t * context); +err_t lowpan6_set_context(u8_t idx, const ip6_addr_t * context); err_t lowpan6_set_short_addr(u8_t addr_high, u8_t addr_low); #if LWIP_IPV4