mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-01 04:12:07 +00:00
fixed compiler warning "initialization dircards qualifiers from pointer target type"
This commit is contained in:
parent
ddf0982d0f
commit
7115975212
16
CHANGELOG
16
CHANGELOG
@ -42,14 +42,21 @@ HISTORY
|
|||||||
|
|
||||||
++ Bug fixes:
|
++ Bug fixes:
|
||||||
|
|
||||||
|
2007-03-06 Simon Goldschmidt (based on patch from Dmitry Potapov)
|
||||||
|
* err.h, err.c: fixed compiler warning "initialization dircards qualifiers
|
||||||
|
from pointer target type"
|
||||||
|
|
||||||
2007-03-05 Frédéric Bernon
|
2007-03-05 Frédéric Bernon
|
||||||
* opt.h, sockets.h: add new configuration options (LWIP_POSIX_SOCKETS_IO_NAMES, ETHARP_TRUST_IP_MAC, review SO_REUSE)
|
* opt.h, sockets.h: add new configuration options (LWIP_POSIX_SOCKETS_IO_NAMES,
|
||||||
|
ETHARP_TRUST_IP_MAC, review SO_REUSE)
|
||||||
|
|
||||||
2007-03-04 Frédéric Bernon
|
2007-03-04 Frédéric Bernon
|
||||||
* api_msg.c: Remove some compiler warnings : parameter "pcb" was never referenced.
|
* api_msg.c: Remove some compiler warnings : parameter "pcb" was never
|
||||||
|
referenced.
|
||||||
|
|
||||||
2007-03-04 Frédéric Bernon
|
2007-03-04 Frédéric Bernon
|
||||||
* api_lib.c: Fix "[patch #5764] api_lib.c cleanup: after patch #5687" (from Dmitry Potapov).
|
* api_lib.c: Fix "[patch #5764] api_lib.c cleanup: after patch #5687" (from
|
||||||
|
Dmitry Potapov).
|
||||||
The api_msg struct stay on the stack (not moved to netconn struct).
|
The api_msg struct stay on the stack (not moved to netconn struct).
|
||||||
|
|
||||||
2007-03-04 Simon Goldschmidt (based on patch from Dmitry Potapov)
|
2007-03-04 Simon Goldschmidt (based on patch from Dmitry Potapov)
|
||||||
@ -71,7 +78,8 @@ HISTORY
|
|||||||
initialized before tcpip_thread is running (e.g. before OS is started)
|
initialized before tcpip_thread is running (e.g. before OS is started)
|
||||||
|
|
||||||
2007-03-02 Frédéric Bernon
|
2007-03-02 Frédéric Bernon
|
||||||
* rawapi.txt: Fix documentation mismatch with etharp.h about etharp_tmr's call interval.
|
* rawapi.txt: Fix documentation mismatch with etharp.h about etharp_tmr's call
|
||||||
|
interval.
|
||||||
|
|
||||||
2007-02-28 Kieran Mansley
|
2007-02-28 Kieran Mansley
|
||||||
* pbuf.c: Fix BUG#17645 - ensure pbuf payload pointer is not moved
|
* pbuf.c: Fix BUG#17645 - ensure pbuf payload pointer is not moved
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
#ifdef LWIP_DEBUG
|
#ifdef LWIP_DEBUG
|
||||||
|
|
||||||
static char *err_strerr[] = {"Ok.",
|
static const char *err_strerr[] = {"Ok.",
|
||||||
"Out of memory error.",
|
"Out of memory error.",
|
||||||
"Buffer error.",
|
"Buffer error.",
|
||||||
"Connection aborted.",
|
"Connection aborted.",
|
||||||
@ -48,7 +48,7 @@ static char *err_strerr[] = {"Ok.",
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
char *
|
const char *
|
||||||
lwip_strerr(err_t err)
|
lwip_strerr(err_t err)
|
||||||
{
|
{
|
||||||
return err_strerr[-err];
|
return err_strerr[-err];
|
||||||
|
@ -63,7 +63,7 @@ typedef s8_t err_t;
|
|||||||
|
|
||||||
|
|
||||||
#ifdef LWIP_DEBUG
|
#ifdef LWIP_DEBUG
|
||||||
extern char *lwip_strerr(err_t err);
|
extern const char *lwip_strerr(err_t err);
|
||||||
#else
|
#else
|
||||||
#define lwip_strerr(x) ""
|
#define lwip_strerr(x) ""
|
||||||
#endif /* LWIP_DEBUG */
|
#endif /* LWIP_DEBUG */
|
||||||
|
Loading…
Reference in New Issue
Block a user