fixed tcpip_untimeout (does not need the time, broken after 1.3.0 in CVS only) - fixes compilation of ppp_oe.c

This commit is contained in:
goldsimon 2009-05-02 16:12:35 +00:00
parent 41eecb67d2
commit 152d22d4f9
3 changed files with 6 additions and 3 deletions

View File

@ -95,6 +95,10 @@ HISTORY
++ Bugfixes:
2009-05-02 Simon Goldschmidt
* tcpip.h, tcpip.c: fixed tcpip_untimeout (does not need the time, broken after
1.3.0 in CVS only) - fixes compilation of ppp_oe.c
2009-05-02 Simon Goldschmidt
* msg_in.c: fixed bug #25636: SNMPSET value is ignored for integer fields

View File

@ -418,7 +418,7 @@ tcpip_timeout(u32_t msecs, sys_timeout_handler h, void *arg)
* @return ERR_MEM on memory error, ERR_OK otherwise
*/
err_t
tcpip_untimeout(u32_t msecs, sys_timeout_handler h, void *arg)
tcpip_untimeout(sys_timeout_handler h, void *arg)
{
struct tcpip_msg *msg;
@ -429,7 +429,6 @@ tcpip_untimeout(u32_t msecs, sys_timeout_handler h, void *arg)
}
msg->type = TCPIP_MSG_UNTIMEOUT;
msg->msg.tmo.msecs = msecs;
msg->msg.tmo.h = h;
msg->msg.tmo.arg = arg;
sys_mbox_post(mbox, msg);

View File

@ -90,7 +90,7 @@ err_t pbuf_free_callback(struct pbuf *p);
err_t mem_free_callback(void *m);
err_t tcpip_timeout(u32_t msecs, sys_timeout_handler h, void *arg);
err_t tcpip_untimeout(u32_t msecs, sys_timeout_handler h, void *arg);
err_t tcpip_untimeout(sys_timeout_handler h, void *arg);
enum tcpip_msg_type {
#if LWIP_NETCONN