This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 77a99acc98737a9e38694fa8270de806b4087e53
Author: chao.an <anc...@xiaomi.com>
AuthorDate: Fri Aug 26 14:11:48 2022 +0800

    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 <anc...@xiaomi.com>
---
 net/icmpv6/icmpv6.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/icmpv6/icmpv6.h b/net/icmpv6/icmpv6.h
index 5b1b498afb..7821a8ca57 100644
--- a/net/icmpv6/icmpv6.h
+++ b/net/icmpv6/icmpv6.h
@@ -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
 
 /****************************************************************************

Reply via email to