mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-02 12:52:10 +00:00
udp.c: remove obsolete line "static struct udp_pcb *pcb_cache = NULL;"
Its is static, and never used in udp.c except udp_init().
This commit is contained in:
parent
bb8522b737
commit
e1b6a4cb21
@ -42,12 +42,15 @@ HISTORY
|
|||||||
|
|
||||||
++ Bug fixes:
|
++ Bug fixes:
|
||||||
|
|
||||||
|
2007-03-03 Frédéric Bernon
|
||||||
|
* udp.c: remove obsolete line "static struct udp_pcb *pcb_cache = NULL;"
|
||||||
|
Its is static, and never used in udp.c except udp_init().
|
||||||
|
|
||||||
2007-03-02 Simon Goldschmidt
|
2007-03-02 Simon Goldschmidt
|
||||||
* tcpip.c: Moved call to ip_init(), udp_init() and tcp_init() from
|
* tcpip.c: Moved call to ip_init(), udp_init() and tcp_init() from
|
||||||
tcpip_thread() to tcpip_init(). This way, raw API connections can be
|
tcpip_thread() to tcpip_init(). This way, raw API connections can be
|
||||||
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.
|
||||||
|
|
||||||
|
@ -64,12 +64,10 @@
|
|||||||
/* exported in udp.h (was static) */
|
/* exported in udp.h (was static) */
|
||||||
struct udp_pcb *udp_pcbs = NULL;
|
struct udp_pcb *udp_pcbs = NULL;
|
||||||
|
|
||||||
static struct udp_pcb *pcb_cache = NULL;
|
|
||||||
|
|
||||||
void
|
void
|
||||||
udp_init(void)
|
udp_init(void)
|
||||||
{
|
{
|
||||||
udp_pcbs = pcb_cache = NULL;
|
udp_pcbs = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user