summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-30 23:16:06 -0400
committerIan Moffett <ian@osmora.org>2024-06-30 23:16:06 -0400
commitb947d0c149dd3a36d92343a41a80a6b3f29f5f00 (patch)
tree871e482d2320fd62e2ee0bb03492af4790b87e50
parent3ef807f071feaffef409e1817d781a9d49584b5c (diff)
kernel: sched: Mark sched_enter() as __dead
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--sys/include/sys/sched.h3
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 */