From 5b899dd85b950c0625b276d1a13c3576b8cdc6df Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Tue, 26 Jul 2011 20:21:33 +0200 Subject: [PATCH] Prevent non-static function that is not declared in header file --- src/core/pbuf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/pbuf.c b/src/core/pbuf.c index b343e060..084d11b7 100644 --- a/src/core/pbuf.c +++ b/src/core/pbuf.c @@ -111,6 +111,9 @@ volatile u8_t pbuf_free_ooseq_pending; * This must be done in the correct thread context therefore this function * can only be used with NO_SYS=0 and through tcpip_callback. */ +#if !NO_SYS +static +#endif /* !NO_SYS */ void pbuf_free_ooseq(void) {