Make fake routines conditional on CONTIKI_NO_NET

This commit is contained in:
dak664 2010-09-14 19:16:53 +00:00
parent 6d3c276e7e
commit dc9f16131c

View file

@ -7,6 +7,8 @@
#include "uip.h" #include "uip.h"
#include <string.h> #include <string.h>
#if CONTIKI_NO_NET
#define UIP_IP_BUF ((struct uip_ip_hdr *)&uip_buf[UIP_LLH_LEN]) #define UIP_IP_BUF ((struct uip_ip_hdr *)&uip_buf[UIP_LLH_LEN])
uip_buf_t uip_aligned_buf; uip_buf_t uip_aligned_buf;
@ -124,3 +126,4 @@ uip_icmp6chksum(void)
{ {
return upper_layer_chksum(UIP_PROTO_ICMP6); return upper_layer_chksum(UIP_PROTO_ICMP6);
} }
#endif /* CONTIKI_NO_NET */