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 7e0e42e32d09519be8d636c216ba1382489166c0 Author: jingfei <[email protected]> AuthorDate: Tue Oct 13 21:10:41 2026 +0800 fixup! sched: optional inline for nxsched_add_prioritized Signed-off-by: jingfei <[email protected]> --- sched/sched/sched_addprioritized.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sched/sched/sched_addprioritized.c b/sched/sched/sched_addprioritized.c index 509dcd9e574..c9c82ef8a68 100644 --- a/sched/sched/sched_addprioritized.c +++ b/sched/sched/sched_addprioritized.c @@ -26,12 +26,9 @@ #include <nuttx/config.h> -#include <assert.h> - -#include <nuttx/queue.h> - -/* Emit the out-of-line definition of nxsched_add_prioritized() from - * sched.h. +/* Emit the out-of-line definition of nxsched_add_prioritized(). Must + * precede the first inclusion of sched/sched.h, or its include guard + * suppresses the definition. */ #define SCHED_ADDPRIORITIZED_IMPL #include "sched/sched.h"
