mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
Fixed warnings on whole project introduced by const pointers on ip_addr_t
This commit is contained in:
parent
65095253a9
commit
b4990b5bb4
@ -591,7 +591,7 @@ ip6_frag_free_pbuf_custom(struct pbuf *p)
|
||||
* @return ERR_OK if sent successfully, err_t otherwise
|
||||
*/
|
||||
err_t
|
||||
ip6_frag(struct pbuf *p, struct netif *netif, ip6_addr_t *dest)
|
||||
ip6_frag(struct pbuf *p, struct netif *netif, const ip6_addr_t *dest)
|
||||
{
|
||||
struct ip6_hdr *original_ip6hdr;
|
||||
struct ip6_hdr *ip6hdr;
|
||||
|
@ -2704,7 +2704,7 @@ atentry_get_value(struct obj_def *od, u16_t len, void *value)
|
||||
#if LWIP_ARP
|
||||
u8_t id;
|
||||
struct eth_addr* ethaddr_ret;
|
||||
ip_addr_t* ipaddr_ret;
|
||||
const ip_addr_t* ipaddr_ret;
|
||||
#endif /* LWIP_ARP */
|
||||
ip_addr_t ip;
|
||||
struct netif *netif;
|
||||
@ -3410,7 +3410,7 @@ ip_ntomentry_get_value(struct obj_def *od, u16_t len, void *value)
|
||||
#if LWIP_ARP
|
||||
u8_t id;
|
||||
struct eth_addr* ethaddr_ret;
|
||||
ip_addr_t* ipaddr_ret;
|
||||
const ip_addr_t* ipaddr_ret;
|
||||
#endif /* LWIP_ARP */
|
||||
ip_addr_t ip;
|
||||
struct netif *netif;
|
||||
|
@ -90,7 +90,7 @@ struct pbuf_custom_ref {
|
||||
};
|
||||
#endif /* LWIP_PBUF_CUSTOM_REF_DEFINED */
|
||||
|
||||
err_t ip6_frag(struct pbuf *p, struct netif *netif, ip6_addr_t *dest);
|
||||
err_t ip6_frag(struct pbuf *p, struct netif *netif, const ip6_addr_t *dest);
|
||||
|
||||
#endif /* LWIP_IPV6 && LWIP_IPV6_FRAG */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user