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

@ -103,12 +103,14 @@ HISTORY
++ Bugfixes:
2010-02-12: Simon Goldschmidt
* mem.h: Fixed bug #28866 (mem_realloc function defined in mem.h)
2010-02-09: Simon Goldschmidt
* api_lib.c, api_msg.c, sockets.c, api.h, api_msg.h: Fixed bug #22110
(recv() makes receive window update for data that wasn't received by
application)
2010-02-09: Simon Goldschmidt/Stephane Lesage
* sockets.c: Fixed bug #28853 (lwip_recvfrom() returns 0 on receive time-out
or any netconn_recv() error)

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 */