Skip to content

Commit

Permalink
greenhills: fix the netdev.h build warning
Browse files Browse the repository at this point in the history
"/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 <[email protected]>
  • Loading branch information
guoshichao authored and xiaoxiang781216 committed Aug 24, 2024
1 parent b150722 commit a06c97d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/nuttx/net/netdev.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a06c97d

Please sign in to comment.