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
parent 4444db2990
commit ba28d36e67
2 changed files with 9 additions and 1 deletions

View File

@ -6,7 +6,11 @@ HISTORY
++ New features:
2011-05-25: Simon Goldschmidt
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-25: Simon Goldschmidt
* again nearly the whole stack, renamed ip.c to ip4.c, ip_addr.c to ip4_addr.c,
combined ipv4/ipv6 inet_chksum.c, added ip.h, ip_addr.h: Combined IPv4
and IPv6 code where possible, added defines to access IPv4/IPv6 in non-IP
@ -23,6 +27,8 @@ HISTORY
++ Bugfixes:
2011-06-26: Simon Goldschmidt
* mem.c: fixed bug #33544 "warning in mem.c in lwip 1.4.0 with NO_SYS=1"

View File

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