lwip: In mem.h define mem_realloc as static inline
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 9 Apr 2011 12:28:31 +0000 (05:28 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 12 Apr 2011 21:40:53 +0000 (14:40 -0700)
commitaef1de9230f9d0f3d52c2243aab6881e7e6c238d
treeda1d8f8f20d3f8c37832fb38f2cb2445616e6d2c
parent865b6a1149b7a9dd05c07919c89719e1b114577b
lwip:  In mem.h define mem_realloc as static inline

The intent was clearly for the compiler to inline
mem_realloc or else the defintion would have been placed
in a C file somewhere.   gcc complains and since -Werr
is set the build fails when the function is just static.
So make the function static inline.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
core/lwip/src/include/lwip/mem.h