lwip_socket_init() is not needed any more -> compatibility define

This commit is contained in:
goldsimon
2014-11-06 14:14:58 +01:00
parent 79ecf2edb7
commit 2809405164
6 changed files with 7 additions and 15 deletions

View File

@@ -125,7 +125,7 @@ struct raw_pcb * raw_new_ip6 (u8_t proto);
/* The following functions are the lower layer interface to RAW. */
u8_t raw_input (struct pbuf *p, struct netif *inp);
#define raw_init() /* Compatibility define, not init needed. */
#define raw_init() /* Compatibility define, no init needed. */
#ifdef __cplusplus
}

View File

@@ -398,7 +398,7 @@ struct timeval {
};
#endif /* LWIP_TIMEVAL_PRIVATE */
void lwip_socket_init(void);
#define lwip_socket_init() /* Compatibility define, no init needed. */
int lwip_accept(int s, struct sockaddr *addr, socklen_t *addrlen);
int lwip_bind(int s, const struct sockaddr *name, socklen_t namelen);

View File

@@ -185,7 +185,7 @@ struct etharp_q_entry {
};
#endif /* ARP_QUEUEING */
#define etharp_init() /* Compatibility define, not init needed. */
#define etharp_init() /* Compatibility define, no init needed. */
void etharp_tmr(void);
s8_t etharp_find_addr(struct netif *netif, ip_addr_t *ipaddr,
struct eth_addr **eth_ret, ip_addr_t **ip_ret);