net/icmpv6: fix build break "duplicate macro parameter"
Error: net/icmpv6/icmpv6.h:442:33: error: duplicate macro parameter "d" # define icmpv6_setaddresses(d,d,p,p) (0) Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
cc421e43e4
commit
77a99acc98
@ -439,7 +439,7 @@ void icmpv6_setaddresses(FAR struct net_driver_s *dev,
|
||||
const net_ipv6addr_t prefix,
|
||||
unsigned int preflen);
|
||||
#else
|
||||
# define icmpv6_setaddresses(d,d,p,p) (0)
|
||||
# define icmpv6_setaddresses(dev,draddr,prefix,preflen) (0)
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user