tcp_seg_copy only used when OOSEQ is on

This commit is contained in:
jani
2003-11-13 14:39:44 +00:00
parent 18417fe7e6
commit 29f735d11a

View File

@@ -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