mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-17 05:36:46 +08:00
Add return types to tcpip_apimsg() and api_msg_post() to check ERR_MEM problems (api_lib.c can be change now).
This commit is contained in:
@@ -91,8 +91,8 @@ struct api_msg {
|
||||
struct api_msg_msg msg;
|
||||
};
|
||||
|
||||
void api_msg_input(struct api_msg *msg);
|
||||
void api_msg_post(struct api_msg *msg);
|
||||
void api_msg_input(struct api_msg *msg);
|
||||
err_t api_msg_post(struct api_msg *msg);
|
||||
|
||||
#endif /* __LWIP_API_MSG_H__ */
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "lwip/pbuf.h"
|
||||
|
||||
void tcpip_init(void (* tcpip_init_done)(void *), void *arg);
|
||||
void tcpip_apimsg(struct api_msg *apimsg);
|
||||
err_t tcpip_apimsg(struct api_msg *apimsg);
|
||||
#if ETHARP_TCPIP_INPUT
|
||||
err_t tcpip_input(struct pbuf *p, struct netif *inp);
|
||||
#endif /* ETHARP_TCPIP_INPUT */
|
||||
|
||||
Reference in New Issue
Block a user