Use netif_input_fn typedef instead of creating a new one in tcpip.h

This commit is contained in:
Dirk Ziegelmeier
2016-02-22 21:10:50 +01:00
parent fe8d2ba72f
commit 9a4d7b9956
3 changed files with 4 additions and 9 deletions

View File

@@ -169,7 +169,7 @@ tcpip_thread(void *arg)
* @param input_fn input function to call
*/
err_t
tcpip_inpkt(struct pbuf *p, struct netif *inp, tcpip_inpkt_fn input_fn)
tcpip_inpkt(struct pbuf *p, struct netif *inp, netif_input_fn input_fn)
{
#if LWIP_TCPIP_CORE_LOCKING_INPUT
err_t ret;