Remove compiler warning for remove_ext_header().
This commit is contained in:
parent
51e3999054
commit
5c232e7263
1 changed files with 1 additions and 0 deletions
|
@ -570,6 +570,7 @@ tcpip_ipv6_output(void)
|
||||||
PRINTF("FALLBACK: removing ext hdrs & setting proto %d %d\n",
|
PRINTF("FALLBACK: removing ext hdrs & setting proto %d %d\n",
|
||||||
uip_ext_len, *((uint8_t *)UIP_IP_BUF + 40));
|
uip_ext_len, *((uint8_t *)UIP_IP_BUF + 40));
|
||||||
if(uip_ext_len > 0) {
|
if(uip_ext_len > 0) {
|
||||||
|
extern void remove_ext_hdr(void);
|
||||||
uint8_t proto = *((uint8_t *)UIP_IP_BUF + 40);
|
uint8_t proto = *((uint8_t *)UIP_IP_BUF + 40);
|
||||||
remove_ext_hdr();
|
remove_ext_hdr();
|
||||||
/* This should be copied from the ext header... */
|
/* This should be copied from the ext header... */
|
||||||
|
|
Loading…
Reference in a new issue