mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 18:14:53 +00:00
pbuf: Make pbuf_init_alloced_pbuf take pbuf_type instead of u8_t for type parameter
All callers pass pbuf_type to pbuf_init_alloced_pbuf(), so make it take pbuf_type instead of u8_t. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: goldsimon <goldsimon@gmx.de>
This commit is contained in:
parent
356da76cc8
commit
cbbfb1356c
@ -174,7 +174,7 @@ pbuf_pool_is_empty(void)
|
||||
|
||||
/* Initialize members of struct pbuf after allocation */
|
||||
static void
|
||||
pbuf_init_alloced_pbuf(struct pbuf *p, void* payload, u16_t tot_len, u16_t len, u8_t type)
|
||||
pbuf_init_alloced_pbuf(struct pbuf *p, void* payload, u16_t tot_len, u16_t len, pbuf_type type)
|
||||
{
|
||||
p->next = NULL;
|
||||
p->payload = payload;
|
||||
|
Loading…
Reference in New Issue
Block a user