mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2025-02-15 09:40:08 +00:00
Fixed cyclic dependency by including netif.h. Not sure if this breaks other compilers?
This commit is contained in:
parent
bd6b1a0237
commit
aa84869fdb
@ -5,6 +5,7 @@
|
|||||||
#define __LWIP_DHCP_H__
|
#define __LWIP_DHCP_H__
|
||||||
|
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
|
#include "lwip/netif.h"
|
||||||
#include "lwip/udp.h"
|
#include "lwip/udp.h"
|
||||||
|
|
||||||
/** period (in seconds) of the application calling dhcp_coarse_tmr() */
|
/** period (in seconds) of the application calling dhcp_coarse_tmr() */
|
||||||
@ -87,10 +88,8 @@ PACK_STRUCT_END
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Declare here to avoid including netif.h creating a circular dependency */
|
/* Declare here to avoid including netif.h creating a circular dependency */
|
||||||
struct netif;
|
//struct netif;
|
||||||
|
|
||||||
/** initialize DHCP client */
|
|
||||||
void dhcp_init(void);
|
|
||||||
/** start DHCP configuration */
|
/** start DHCP configuration */
|
||||||
err_t dhcp_start(struct netif *netif);
|
err_t dhcp_start(struct netif *netif);
|
||||||
/** stop DHCP configuration */
|
/** stop DHCP configuration */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user