mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-12-05 15:15:31 +00:00
tcp_seg_copy only used when OOSEQ is on
This commit is contained in:
@@ -812,6 +812,7 @@ tcp_setprio(struct tcp_pcb *pcb, u8_t prio)
|
||||
{
|
||||
pcb->prio = prio;
|
||||
}
|
||||
#if TCP_QUEUE_OOSEQ
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
/*
|
||||
* tcp_seg_copy():
|
||||
@@ -833,6 +834,7 @@ tcp_seg_copy(struct tcp_seg *seg)
|
||||
pbuf_ref(cseg->p);
|
||||
return cseg;
|
||||
}
|
||||
#endif
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
#if LWIP_CALLBACK_API
|
||||
static err_t
|
||||
|
||||
Reference in New Issue
Block a user