Added the const keyword to functions that use the tcpip_set_outputfunc(), which now takes a const argument
This commit is contained in:
parent
f9cb6ec2fa
commit
469884171a
6 changed files with 15 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue