cpu/panic - Improve declaration

This commit is contained in:
madmaurice 2023-08-29 16:51:58 +02:00
parent 8cb6130d06
commit eabc39590e

View file

@ -1,9 +1,8 @@
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
template <typename... Args> template <typename... Args>
inline void panic(Args... args) inline void panic [[noreturn]] (Args... args)
{ {
printf(args...); printf(args...);
exit(1); exit(1);