From b947d0c149dd3a36d92343a41a80a6b3f29f5f00 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 30 Jun 2024 23:16:06 -0400 Subject: kernel: sched: Mark sched_enter() as __dead Signed-off-by: Ian Moffett --- sys/include/sys/sched.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/include/sys/sched.h b/sys/include/sys/sched.h index ae59d5f..52ca1ba 100644 --- a/sys/include/sys/sched.h +++ b/sys/include/sys/sched.h @@ -31,11 +31,12 @@ #define _SYS_SCHED_H_ #include +#include #if defined(_KERNEL) void sched_init(void); -void sched_enter(void); +__dead void sched_enter(void); void sched_enqueue_td(struct proc *td); #endif /* _KERNEL */ -- cgit v1.2.3