mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 21:14:40 +08:00
Some functions were located outside extern "C" {}
This commit is contained in:
parent
802a048302
commit
1740b0d421
@ -248,10 +248,6 @@ u8_t netif_is_link_up(struct netif *netif);
|
|||||||
void netif_set_link_callback(struct netif *netif, void (* link_callback)(struct netif *netif));
|
void netif_set_link_callback(struct netif *netif, void (* link_callback)(struct netif *netif));
|
||||||
#endif /* LWIP_NETIF_LINK_CALLBACK */
|
#endif /* LWIP_NETIF_LINK_CALLBACK */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if ENABLE_LOOPBACK
|
#if ENABLE_LOOPBACK
|
||||||
err_t netif_loop_output(struct netif *netif, struct pbuf *p, struct ip_addr *dest_ip);
|
err_t netif_loop_output(struct netif *netif, struct pbuf *p, struct ip_addr *dest_ip);
|
||||||
void netif_poll(struct netif *netif);
|
void netif_poll(struct netif *netif);
|
||||||
@ -260,4 +256,8 @@ void netif_poll_all(void);
|
|||||||
#endif /* !LWIP_NETIF_LOOPBACK_MULTITHREADING */
|
#endif /* !LWIP_NETIF_LOOPBACK_MULTITHREADING */
|
||||||
#endif /* ENABLE_LOOPBACK */
|
#endif /* ENABLE_LOOPBACK */
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* __LWIP_NETIF_H__ */
|
#endif /* __LWIP_NETIF_H__ */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user