From 1edd2ed3db32457ed9cedcb35004815e5216b85a Mon Sep 17 00:00:00 2001 From: fbernon Date: Sun, 29 Jul 2007 08:23:57 +0000 Subject: [PATCH] Minor fix on pbuf_init (fix warning) and use same coding style that mem.h, sys.h, tcp.h, etc... --- src/include/lwip/pbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/lwip/pbuf.h b/src/include/lwip/pbuf.h index b159722a..0cd76a1e 100644 --- a/src/include/lwip/pbuf.h +++ b/src/include/lwip/pbuf.h @@ -99,7 +99,7 @@ struct pbuf { }; /* Initializes the pbuf module. This call is empty for now, but may not be in future. */ -#define pbuf_init() do { } while (0) +#define pbuf_init() struct pbuf *pbuf_alloc(pbuf_layer l, u16_t size, pbuf_flag flag); void pbuf_realloc(struct pbuf *p, u16_t size);