mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 05:10:40 +00:00
Add C++ guards to autoip.h header.
This commit is contained in:
parent
103ba9b0fc
commit
857fac1168
@ -52,6 +52,10 @@
|
|||||||
#include "lwip/udp.h"
|
#include "lwip/udp.h"
|
||||||
#include "netif/etharp.h"
|
#include "netif/etharp.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/* AutoIP Timing */
|
/* AutoIP Timing */
|
||||||
#define AUTOIP_TMR_INTERVAL 100
|
#define AUTOIP_TMR_INTERVAL 100
|
||||||
#define AUTOIP_TICKS_PER_SECOND (1000 / AUTOIP_TMR_INTERVAL)
|
#define AUTOIP_TICKS_PER_SECOND (1000 / AUTOIP_TMR_INTERVAL)
|
||||||
@ -103,6 +107,10 @@ void autoip_tmr(void);
|
|||||||
/** Handle a possible change in the network configuration */
|
/** Handle a possible change in the network configuration */
|
||||||
void autoip_network_changed(struct netif *netif);
|
void autoip_network_changed(struct netif *netif);
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* LWIP_AUTOIP */
|
#endif /* LWIP_AUTOIP */
|
||||||
|
|
||||||
#endif /* __LWIP_AUTOIP_H__ */
|
#endif /* __LWIP_AUTOIP_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user