mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-24 15:14:06 +00:00
Remove duplicate netif_dhcp_data() macro
Fix compilation of unit tests
This commit is contained in:
parent
02eec304c3
commit
6c9a9b9d99
@ -127,8 +127,6 @@ static enum tcase {
|
|||||||
static int debug = 0;
|
static int debug = 0;
|
||||||
static void setdebug(int a) {debug = a;}
|
static void setdebug(int a) {debug = a;}
|
||||||
|
|
||||||
#define netif_dhcp_data(netif) ((struct dhcp*)(netif)->client_data[LWIP_NETIF_CLIENT_DATA_INDEX_DHCP])
|
|
||||||
|
|
||||||
static int tick = 0;
|
static int tick = 0;
|
||||||
static void tick_lwip(void)
|
static void tick_lwip(void)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user