sched/sched: fix typos and remove unused declarations in sched.h

This patch removes unnecessary and unimplemented function declarations in sched.h, fixing typos and cleaning up the header file.

Signed-off-by: Chengdong Wang <wangchengdong@lixiang.com>
This commit is contained in:
wangchengdong
2026-02-25 13:41:18 +08:00
committed by Matteo Golin
parent c47b9dc26c
commit 629a9d4ace
-6
View File
@@ -307,12 +307,6 @@ extern volatile spinlock_t g_cpu_tasklistlock;
* Public Function Prototypes
****************************************************************************/
void nxsched_process_tick(void);
#if defined(CONFIG_HRTIMER) && defined(CONFIG_SCHED_TICKLESS)
int nxsched_hrtimer_tick_start(clock_t tick);
#endif
int nxthread_create(FAR const char *name, uint8_t ttype, int priority,
FAR void *stack_addr, int stack_size, main_t entry,
FAR char * const argv[], FAR char * const envp[]);