Fix some more variables named "index" - found by Joel Cunningham

This commit is contained in:
Dirk Ziegelmeier 2017-01-23 21:46:11 +01:00
parent 0ef298b21f
commit d297d466ed
2 changed files with 3 additions and 3 deletions

View File

@ -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);
}
}

View File

@ -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