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

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

commit 95d8bdc6b5b2d5b5b5e21567842d0271a7630fd9
Author: ouyangxiangzhen <[email protected]>
AuthorDate: Thu Nov 12 16:03:37 2026 +0800

    sched/hrtimer: Fix FAR qualifier placement in g_hrtimer_head
    
    The FAR qualifier was placed after the struct keyword in the extern
    declaration of g_hrtimer_head.  Move it before the type as in the
    surrounding declarations.
    
    Assisted-by: mimo-v2.6-pro
    Signed-off-by: ouyangxiangzhen <[email protected]>
---
 sched/hrtimer/hrtimer.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sched/hrtimer/hrtimer.h b/sched/hrtimer/hrtimer.h
index 682715a7a0c..4e6a38df6ae 100644
--- a/sched/hrtimer/hrtimer.h
+++ b/sched/hrtimer/hrtimer.h
@@ -102,7 +102,7 @@ extern uint64_t g_hrtimer_last_expired;
 /* Red-Black tree containing all active high-resolution timers */
 
 extern struct hrtimer_tree_s g_hrtimer_tree;
-extern struct FAR hrtimer_s *g_hrtimer_head;
+extern FAR struct hrtimer_s *g_hrtimer_head;
 #else
 /* List containing all active high-resolution timers */
 

Reply via email to