greenhills: fix the netdev.h build warning
"/home/guoshichao/work_profile/vela_os/vela_car_4/nuttx/include/nuttx/net/netdev.h", line 493: warning #231-D: declaration is not visible outside of function FAR struct netdev_ifaddr6_s *addr, ^ Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
parent
b150722efb
commit
a06c97d599
@ -274,13 +274,11 @@ struct netdev_varaddr_s
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_NET_IPv6
|
||||
struct netdev_ifaddr6_s
|
||||
{
|
||||
net_ipv6addr_t addr; /* Host IPv6 address */
|
||||
net_ipv6addr_t mask; /* Network IPv6 subnet mask */
|
||||
};
|
||||
#endif
|
||||
|
||||
/* This structure collects information that is specific to a specific network
|
||||
* interface driver. If the hardware platform supports only a single
|
||||
|
Loading…
Reference in New Issue
Block a user