mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 23:12:09 +00:00
merged from DEVEL.
This commit is contained in:
parent
55f64f13c7
commit
ec1c2a714e
@ -853,7 +853,6 @@ pbuf_take(struct pbuf *p)
|
|||||||
return head;
|
return head;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0 /* TODO: See if we might need this for future features */
|
|
||||||
/**
|
/**
|
||||||
* Dechains the first pbuf from its succeeding pbufs in the chain.
|
* Dechains the first pbuf from its succeeding pbufs in the chain.
|
||||||
*
|
*
|
||||||
@ -890,7 +889,6 @@ pbuf_dechain(struct pbuf *p)
|
|||||||
LWIP_ASSERT("p->tot_len == p->len", p->tot_len == p->len);
|
LWIP_ASSERT("p->tot_len == p->len", p->tot_len == p->len);
|
||||||
return (tail_gone > 0? NULL: q);
|
return (tail_gone > 0? NULL: q);
|
||||||
}
|
}
|
||||||
#endif /* pbuf_dechain() */
|
|
||||||
|
|
||||||
/* TODO: This function is unused in the lwIP stack and will be deprecated. This is due
|
/* TODO: This function is unused in the lwIP stack and will be deprecated. This is due
|
||||||
* to the new way chains are built. */
|
* to the new way chains are built. */
|
||||||
|
@ -110,8 +110,6 @@ u8_t pbuf_free(struct pbuf *p);
|
|||||||
u8_t pbuf_clen(struct pbuf *p);
|
u8_t pbuf_clen(struct pbuf *p);
|
||||||
void pbuf_chain(struct pbuf *h, struct pbuf *t);
|
void pbuf_chain(struct pbuf *h, struct pbuf *t);
|
||||||
struct pbuf *pbuf_take(struct pbuf *f);
|
struct pbuf *pbuf_take(struct pbuf *f);
|
||||||
#if 0 /* see remark in code */
|
|
||||||
struct pbuf *pbuf_dechain(struct pbuf *p);
|
struct pbuf *pbuf_dechain(struct pbuf *p);
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __LWIP_PBUF_H__ */
|
#endif /* __LWIP_PBUF_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user