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

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

commit 40708e0ea749d4d09a96bcd0f7223ff11e1164dd
Author: Petro Karashchenko <[email protected]>
AuthorDate: Thu May 18 00:28:13 2023 +0300

    net/icmpv6: add CODE to function pointer
    
    Signed-off-by: Petro Karashchenko <[email protected]>
---
 net/icmpv6/icmpv6.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/icmpv6/icmpv6.h b/net/icmpv6/icmpv6.h
index 8d0bf64ce0..8e00f8b356 100644
--- a/net/icmpv6/icmpv6.h
+++ b/net/icmpv6/icmpv6.h
@@ -108,8 +108,8 @@ struct icmpv6_conn_s
 
 /* Callback from icmpv6_foreach() */
 
-typedef int (*icmpv6_callback_t)(FAR struct icmpv6_conn_s *conn,
-                                 FAR void *arg);
+typedef CODE int (*icmpv6_callback_t)(FAR struct icmpv6_conn_s *conn,
+                                      FAR void *arg);
 #endif
 
 #ifdef CONFIG_NET_ICMPv6_NEIGHBOR

Reply via email to