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:
guoshichao 2024-07-22 15:00:14 +08:00 committed by Xiang Xiao
parent b150722efb
commit a06c97d599

View File

@ -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