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:
fbernon
2007-03-19 20:35:32 +00:00
parent e4cd00b5ea
commit b035a6196a
5 changed files with 12 additions and 7 deletions

View File

@@ -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__ */

View File

@@ -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 */