mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-08-12 10:33:37 +08:00
Fixed warnings on whole project introduced by const pointers on ip_addr_t
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user