From 1740b0d421aed49ed19b8f133b567a6df2216e56 Mon Sep 17 00:00:00 2001 From: goldsimon Date: Thu, 31 Dec 2009 15:57:22 +0000 Subject: [PATCH] Some functions were located outside extern "C" {} --- src/include/lwip/netif.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/lwip/netif.h b/src/include/lwip/netif.h index c50a6da8..cec043b1 100644 --- a/src/include/lwip/netif.h +++ b/src/include/lwip/netif.h @@ -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)); #endif /* LWIP_NETIF_LINK_CALLBACK */ -#ifdef __cplusplus -} -#endif - #if ENABLE_LOOPBACK err_t netif_loop_output(struct netif *netif, struct pbuf *p, struct ip_addr *dest_ip); void netif_poll(struct netif *netif); @@ -260,4 +256,8 @@ void netif_poll_all(void); #endif /* !LWIP_NETIF_LOOPBACK_MULTITHREADING */ #endif /* ENABLE_LOOPBACK */ +#ifdef __cplusplus +} +#endif + #endif /* __LWIP_NETIF_H__ */