Fixed bug #33544 (warning in mem.c in lwip 1.4.0 with NO_SYS=1)

This commit is contained in:
goldsimon 2011-06-26 17:13:57 +00:00 committed by goldsimon
parent 1b79ac1160
commit 49e16fcbe9
2 changed files with 6 additions and 0 deletions

View File

@ -6,6 +6,10 @@ HISTORY
++ New features: ++ New features:
2011-06-26: Simon Goldschmidt (patch by Cameron Gutman)
* tcp.c, tcp_out.c: bug #33604: added some more asserts to check that
pcb->state != LISTEN
2011-05-14: Simon Goldschmidt (patch by Stéphane Lesage) 2011-05-14: Simon Goldschmidt (patch by Stéphane Lesage)
* tcpip.c/.h: patch #7449 allow tcpip callback from interrupt with static * tcpip.c/.h: patch #7449 allow tcpip callback from interrupt with static
memory message memory message

View File

@ -190,7 +190,9 @@ static struct mem *ram_end;
static struct mem *lfree; static struct mem *lfree;
/** concurrent access protection */ /** concurrent access protection */
#if !NO_SYS
static sys_mutex_t mem_mutex; static sys_mutex_t mem_mutex;
#endif
#if LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT #if LWIP_ALLOW_MEM_FREE_FROM_OTHER_CONTEXT