mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +00:00
lwip_socket_init() is not needed any more -> compatibility define
This commit is contained in:
parent
79ecf2edb7
commit
2809405164
@ -6,6 +6,10 @@ HISTORY
|
||||
|
||||
++ New features:
|
||||
|
||||
2014-09-16: Simon Goldschmidt
|
||||
* sockets.c/.h, init.c: lwip_socket_init() is not needed any more
|
||||
-> compatibility define
|
||||
|
||||
2014-09-16: Simon Goldschmidt
|
||||
* dns.c, opt.h: reduced ram usage by parsing DNS responses in place
|
||||
|
||||
|
@ -241,15 +241,6 @@ static void event_callback(struct netconn *conn, enum netconn_evt evt, u16_t len
|
||||
static void lwip_getsockopt_internal(void *arg);
|
||||
static void lwip_setsockopt_internal(void *arg);
|
||||
|
||||
/**
|
||||
* Initialize this module. This function has to be called before any other
|
||||
* functions in this module!
|
||||
*/
|
||||
void
|
||||
lwip_socket_init(void)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Map a externally used socket index to the internal socket representation.
|
||||
*
|
||||
|
@ -316,9 +316,6 @@ lwip_init(void)
|
||||
memp_init();
|
||||
pbuf_init();
|
||||
netif_init();
|
||||
#if LWIP_SOCKET
|
||||
lwip_socket_init();
|
||||
#endif /* LWIP_SOCKET */
|
||||
ip_init();
|
||||
#if LWIP_ARP
|
||||
etharp_init();
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user