Target cooja: fixed funciton prototype of uip_driver_send

This commit is contained in:
Simon Duquennoy 2015-10-01 16:10:23 +02:00
parent b0f21747e1
commit 5ac4c2c867
2 changed files with 8 additions and 0 deletions

View File

@ -45,7 +45,11 @@
/*--------------------------------------------------------------------*/
uint8_t
#if NETSTACK_CONF_WITH_IPV6
uip_driver_send(const uip_lladdr_t *addr)
#else
uip_driver_send(void)
#endif
{
packetbuf_copyfrom(&uip_buf[UIP_LLH_LEN], uip_len);

View File

@ -41,7 +41,11 @@
#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);
#endif
extern const struct network_driver uip_driver;