mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-08-24 23:25:58 +00:00
Fix "no previous prototype" warning when TCP_QUEUE_OOSEQ is disabled
This commit is contained in:
parent
449eb64fcb
commit
d021972785
@ -2105,6 +2105,7 @@ tcp_tcp_get_tcp_addrinfo(struct tcp_pcb *pcb, int local, ip_addr_t *addr, u16_t
|
|||||||
return ERR_VAL;
|
return ERR_VAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if TCP_QUEUE_OOSEQ
|
||||||
/* Free all ooseq pbufs (and possibly reset SACK state) */
|
/* Free all ooseq pbufs (and possibly reset SACK state) */
|
||||||
void
|
void
|
||||||
tcp_free_ooseq(struct tcp_pcb *pcb)
|
tcp_free_ooseq(struct tcp_pcb *pcb)
|
||||||
@ -2117,6 +2118,7 @@ tcp_free_ooseq(struct tcp_pcb *pcb)
|
|||||||
#endif /* LWIP_TCP_SACK_OUT */
|
#endif /* LWIP_TCP_SACK_OUT */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif /* TCP_QUEUE_OOSEQ */
|
||||||
|
|
||||||
#if TCP_DEBUG || TCP_INPUT_DEBUG || TCP_OUTPUT_DEBUG
|
#if TCP_DEBUG || TCP_INPUT_DEBUG || TCP_OUTPUT_DEBUG
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user