mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 21:14:40 +08:00
Remove empty init functions where not required for backwards compatibility
This commit is contained in:
parent
97ef85c9aa
commit
413bf85dde
@ -314,7 +314,7 @@
|
|||||||
#endif /* !LWIP_DISABLE_TCP_SANITY_CHECKS */
|
#endif /* !LWIP_DISABLE_TCP_SANITY_CHECKS */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Perform Sanity check of user-configurable values, and initialize all modules.
|
* Initialize all modules.
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
lwip_init(void)
|
lwip_init(void)
|
||||||
@ -355,13 +355,6 @@ lwip_init(void)
|
|||||||
#if LWIP_DNS
|
#if LWIP_DNS
|
||||||
dns_init();
|
dns_init();
|
||||||
#endif /* LWIP_DNS */
|
#endif /* LWIP_DNS */
|
||||||
#if LWIP_IPV6
|
|
||||||
ip6_init();
|
|
||||||
nd6_init();
|
|
||||||
#if LWIP_IPV6_MLD
|
|
||||||
mld6_init();
|
|
||||||
#endif /* LWIP_IPV6_MLD */
|
|
||||||
#endif /* LWIP_IPV6 */
|
|
||||||
#if PPP_SUPPORT
|
#if PPP_SUPPORT
|
||||||
ppp_init();
|
ppp_init();
|
||||||
#endif
|
#endif
|
||||||
|
@ -161,7 +161,6 @@ PACK_STRUCT_END
|
|||||||
#define IP6H_HOPLIM_SET(hdr, hl) (hdr)->_hoplim = (u8_t)(hl)
|
#define IP6H_HOPLIM_SET(hdr, hl) (hdr)->_hoplim = (u8_t)(hl)
|
||||||
|
|
||||||
|
|
||||||
#define ip6_init() /* TODO should we init current addresses and header pointer? */
|
|
||||||
struct netif *ip6_route(const ip6_addr_t *src, const ip6_addr_t *dest);
|
struct netif *ip6_route(const ip6_addr_t *src, const ip6_addr_t *dest);
|
||||||
ip6_addr_t *ip6_select_source_address(struct netif *netif, const ip6_addr_t * dest);
|
ip6_addr_t *ip6_select_source_address(struct netif *netif, const ip6_addr_t * dest);
|
||||||
err_t ip6_input(struct pbuf *p, struct netif *inp);
|
err_t ip6_input(struct pbuf *p, struct netif *inp);
|
||||||
|
@ -99,7 +99,6 @@ PACK_STRUCT_END
|
|||||||
#define MLD6_ADD_MAC_FILTER 1
|
#define MLD6_ADD_MAC_FILTER 1
|
||||||
|
|
||||||
|
|
||||||
#define mld6_init() /* TODO should we init tables? */
|
|
||||||
err_t mld6_stop(struct netif *netif);
|
err_t mld6_stop(struct netif *netif);
|
||||||
void mld6_report_groups(struct netif *netif);
|
void mld6_report_groups(struct netif *netif);
|
||||||
void mld6_tmr(void);
|
void mld6_tmr(void);
|
||||||
|
@ -342,7 +342,6 @@ extern struct nd6_router_list_entry default_router_list[];
|
|||||||
extern u32_t reachable_time;
|
extern u32_t reachable_time;
|
||||||
extern u32_t retrans_timer;
|
extern u32_t retrans_timer;
|
||||||
|
|
||||||
#define nd6_init() /* TODO should we init tables? */
|
|
||||||
void nd6_tmr(void);
|
void nd6_tmr(void);
|
||||||
void nd6_input(struct pbuf *p, struct netif *inp);
|
void nd6_input(struct pbuf *p, struct netif *inp);
|
||||||
s8_t nd6_get_next_hop_entry(const ip6_addr_t * ip6addr, struct netif * netif);
|
s8_t nd6_get_next_hop_entry(const ip6_addr_t * ip6addr, struct netif * netif);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user