From c94d640e2ac83c7f1bbd9dab4f93bcbf7085a4fa Mon Sep 17 00:00:00 2001 From: goldsimon Date: Thu, 11 Oct 2007 19:24:23 +0000 Subject: [PATCH] Gave the parameters of pbuf_cat() and pbuf_chain() better names to make the use more clear. --- src/include/lwip/pbuf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/lwip/pbuf.h b/src/include/lwip/pbuf.h index cbc17c34..57a1e999 100644 --- a/src/include/lwip/pbuf.h +++ b/src/include/lwip/pbuf.h @@ -105,8 +105,8 @@ void pbuf_ref(struct pbuf *p); void pbuf_ref_chain(struct pbuf *p); u8_t pbuf_free(struct pbuf *p); u8_t pbuf_clen(struct pbuf *p); -void pbuf_cat(struct pbuf *h, struct pbuf *t); -void pbuf_chain(struct pbuf *h, struct pbuf *t); +void pbuf_cat(struct pbuf *head, struct pbuf *tail); +void pbuf_chain(struct pbuf *head, struct pbuf *tail); struct pbuf *pbuf_dechain(struct pbuf *p); err_t pbuf_copy(struct pbuf *p_to, struct pbuf *p_from); u16_t pbuf_copy_partial(struct pbuf *p, void *dataptr, u16_t len, u16_t offset);