Target cooja: fixed funciton prototype of uip_driver_send
This commit is contained in:
parent
b0f21747e1
commit
5ac4c2c867
|
@ -45,7 +45,11 @@
|
||||||
|
|
||||||
/*--------------------------------------------------------------------*/
|
/*--------------------------------------------------------------------*/
|
||||||
uint8_t
|
uint8_t
|
||||||
|
#if NETSTACK_CONF_WITH_IPV6
|
||||||
|
uip_driver_send(const uip_lladdr_t *addr)
|
||||||
|
#else
|
||||||
uip_driver_send(void)
|
uip_driver_send(void)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
packetbuf_copyfrom(&uip_buf[UIP_LLH_LEN], uip_len);
|
packetbuf_copyfrom(&uip_buf[UIP_LLH_LEN], uip_len);
|
||||||
|
|
||||||
|
|
|
@ -41,7 +41,11 @@
|
||||||
|
|
||||||
#include "net/netstack.h"
|
#include "net/netstack.h"
|
||||||
|
|
||||||
|
#if NETSTACK_CONF_WITH_IPV6
|
||||||
|
uint8_t uip_driver_send(const uip_lladdr_t *);
|
||||||
|
#else
|
||||||
uint8_t uip_driver_send(void);
|
uint8_t uip_driver_send(void);
|
||||||
|
#endif
|
||||||
|
|
||||||
extern const struct network_driver uip_driver;
|
extern const struct network_driver uip_driver;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue