[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #28866] mem_realloc function defined in mem.h.
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #28866] mem_realloc function defined in mem.h. |
Date: |
Thu, 11 Feb 2010 14:58:26 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2) Gecko/20100115 Firefox/3.6 |
Follow-up Comment #1, bug #28866 (project lwip):
I didn't think this would be a problem, but if it is I wouldn't move it to
mem.c but instead add a define for it (that does nothing). The effect of this
static function (it's not inline because the C standard dosn't allow that!)
should be that it is optimized away since mem_realloc in lwIP does not support
memory to be moved.
#define mem_realloc(mem, size) (mem)
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?28866>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/