diff options
Diffstat (limited to 'kern/panic.h')
-rw-r--r-- | kern/panic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kern/panic.h b/kern/panic.h index cd0651a4..e0980575 100644 --- a/kern/panic.h +++ b/kern/panic.h @@ -18,12 +18,12 @@ #ifndef _KERN_PANIC_H #define _KERN_PANIC_H -#include <kern/macros.h> +#include <stdnoreturn.h> /* * Print the given message and halt the system immediately. */ -void __noreturn panic(const char *format, ...) +noreturn void panic(const char *format, ...) __attribute__((format(printf, 1, 2))); #endif /* _KERN_PANIC_H */ |