summaryrefslogtreecommitdiff
path: root/src/exit/quick_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit/quick_exit.c')
-rw-r--r--src/exit/quick_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exit/quick_exit.c b/src/exit/quick_exit.c
index 18d5288a..1175d80c 100644
--- a/src/exit/quick_exit.c
+++ b/src/exit/quick_exit.c
@@ -6,7 +6,7 @@
static void dummy() { }
weak_alias(dummy, __funcs_on_quick_exit);
-void quick_exit(int code)
+_Noreturn void quick_exit(int code)
{
static int lock;
while (a_swap(&lock, 1)) __syscall(SYS_pause);