cpu/panic - Improve declaration
This commit is contained in:
parent
8cb6130d06
commit
eabc39590e
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue