mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-01-14 09:39:22 +00:00
Fix some more variables named "index" - found by Joel Cunningham
This commit is contained in:
parent
0ef298b21f
commit
d297d466ed
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user