From 8f0e516458d913636ec0e9fbe80210a8188d1557 Mon Sep 17 00:00:00 2001 From: Chuck Coffing Date: Wed, 3 Jan 2024 21:57:29 -0800 Subject: [PATCH] do_exit should be wontreturn --- elks/include/linuxmt/kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elks/include/linuxmt/kernel.h b/elks/include/linuxmt/kernel.h index 1ea6649b2..666c1a451 100644 --- a/elks/include/linuxmt/kernel.h +++ b/elks/include/linuxmt/kernel.h @@ -21,7 +21,7 @@ #define structof(p,t,m) ((t *) ((char *) (p) - offsetof (t,m))) -extern void do_exit(int); +extern void do_exit(int) wontreturn; extern int kill_pg(pid_t,sig_t,int); extern int kill_sl(void);