From faa9191191b48fdfd2cba25d6eda7cbbdb0e375c Mon Sep 17 00:00:00 2001 From: likewise Date: Thu, 30 Jan 2003 12:38:03 +0000 Subject: [PATCH] Added commented about the signedness of pbuf_header() argument. --- src/core/pbuf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/pbuf.c b/src/core/pbuf.c index 1088eed3..6c11097f 100644 --- a/src/core/pbuf.c +++ b/src/core/pbuf.c @@ -433,6 +433,9 @@ pbuf_realloc(struct pbuf *p, u16_t size) * * Adjusts the ->payload pointer so that space for a header appears in * the pbuf. Also, the ->tot_len and ->len fields are adjusted. + * + * Decreases the header size by the given amount. + * Using a negative value increases the header size. */ /*-----------------------------------------------------------------------------------*/ u8_t