From eabc39590e3d5210f2c6be5af69e79b87e785916 Mon Sep 17 00:00:00 2001 From: MadMaurice Date: Tue, 29 Aug 2023 16:51:58 +0200 Subject: [PATCH] cpu/panic - Improve declaration --- cpu/panic.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpu/panic.h b/cpu/panic.h index 250fd67..f571326 100644 --- a/cpu/panic.h +++ b/cpu/panic.h @@ -1,9 +1,8 @@ #include #include - template -inline void panic(Args... args) +inline void panic [[noreturn]] (Args... args) { printf(args...); exit(1);