diff options
author | Ian Moffett <ian@osmora.org> | 2024-06-30 23:16:06 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-06-30 23:16:06 -0400 |
commit | b947d0c149dd3a36d92343a41a80a6b3f29f5f00 (patch) | |
tree | 871e482d2320fd62e2ee0bb03492af4790b87e50 | |
parent | 3ef807f071feaffef409e1817d781a9d49584b5c (diff) |
kernel: sched: Mark sched_enter() as __dead
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r-- | sys/include/sys/sched.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <sys/proc.h> +#include <sys/cdefs.h> #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 */ |