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

@@ -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