diff --git a/src/core/pbuf.c b/src/core/pbuf.c index 0c42b9e5..6dc63228 100644 --- a/src/core/pbuf.c +++ b/src/core/pbuf.c @@ -77,18 +77,6 @@ aligned there. Therefore, PBUF_POOL_BUFSIZE_ALIGNED can be used here. */ #define PBUF_POOL_BUFSIZE_ALIGNED LWIP_MEM_ALIGN_SIZE(PBUF_POOL_BUFSIZE) -/** - * Initializes the pbuf module. - * - * Do some checks an initialize the pbuf pool. - * - */ -void -pbuf_init(void) -{ - /* nothing to do here */ -} - /** * Allocates a pbuf of the given type (possibly a chain for PBUF_POOL type). * diff --git a/src/include/lwip/pbuf.h b/src/include/lwip/pbuf.h index 578a5344..b159722a 100644 --- a/src/include/lwip/pbuf.h +++ b/src/include/lwip/pbuf.h @@ -98,7 +98,8 @@ struct pbuf { }; -void pbuf_init(void); +/* Initializes the pbuf module. This call is empty for now, but may not be in future. */ +#define pbuf_init() do { } while (0) struct pbuf *pbuf_alloc(pbuf_layer l, u16_t size, pbuf_flag flag); void pbuf_realloc(struct pbuf *p, u16_t size);