mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-07-07 21:38:50 +00:00
Removed autoip_init() since it does nothing; minor coding style changes
This commit is contained in:
parent
5852993243
commit
9546e65617
|
@ -122,14 +122,6 @@ static err_t autoip_bind(struct netif *netif);
|
||||||
/* start sending probes for llipaddr */
|
/* start sending probes for llipaddr */
|
||||||
static void autoip_start_probing(struct netif *netif);
|
static void autoip_start_probing(struct netif *netif);
|
||||||
|
|
||||||
/**
|
|
||||||
* Initialize this module
|
|
||||||
*/
|
|
||||||
void
|
|
||||||
autoip_init(void)
|
|
||||||
{
|
|
||||||
LWIP_DEBUGF(AUTOIP_DEBUG | LWIP_DBG_TRACE, ("autoip_init()\n"));
|
|
||||||
}
|
|
||||||
|
|
||||||
/** Set a statically allocated struct autoip to work with.
|
/** Set a statically allocated struct autoip to work with.
|
||||||
* Using this prevents autoip_start to allocate it using mem_malloc.
|
* Using this prevents autoip_start to allocate it using mem_malloc.
|
||||||
|
|
|
@ -89,8 +89,7 @@ struct autoip
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/** Init srand, has to be called before entering mainloop */
|
#define autoip_init() /* Compatibility define, no init needed. */
|
||||||
void autoip_init(void);
|
|
||||||
|
|
||||||
/** Set a struct autoip allocated by the application to work with */
|
/** Set a struct autoip allocated by the application to work with */
|
||||||
void autoip_set_struct(struct netif *netif, struct autoip *autoip);
|
void autoip_set_struct(struct netif *netif, struct autoip *autoip);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user