Added the const keyword to functions that use the tcpip_set_outputfunc(), which now takes a const argument

This commit is contained in:
Adam Dunkels 2013-11-18 23:26:37 +01:00
parent f9cb6ec2fa
commit 469884171a
6 changed files with 15 additions and 14 deletions

View file

@ -98,7 +98,7 @@ static unsigned long lasttime;
#endif
static void do_send(void);
uint8_t tapdev_send(uip_lladdr_t *lladdr);
uint8_t tapdev_send(const uip_lladdr_t *lladdr);
/*---------------------------------------------------------------------------*/
int
@ -371,7 +371,8 @@ do_send(void)
}
}
/*---------------------------------------------------------------------------*/
uint8_t tapdev_send(uip_lladdr_t *lladdr)
uint8_t
tapdev_send(const uip_lladdr_t *lladdr)
{
/*
* If L3 dest is multicast, build L2 multicast address