Fixed bug #28866 (mem_realloc function defined in mem.h)

This commit is contained in:
goldsimon
2010-02-12 09:30:31 +00:00
parent 9e59f661bc
commit df7e435b86
2 changed files with 4 additions and 6 deletions

View File

@@ -59,11 +59,7 @@ typedef size_t mem_size_t;
#define mem_calloc calloc
#endif
#ifndef mem_realloc
static void *mem_realloc(void *mem, mem_size_t size)
{
LWIP_UNUSED_ARG(size);
return mem;
}
#define mem_realloc(mem, size) (mem)
#endif
#else /* MEM_LIBC_MALLOC */