diff options
Diffstat (limited to 'include/panic.h')
-rw-r--r-- | include/panic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/panic.h b/include/panic.h index 3a3bb7db9b..f5e179acf5 100644 --- a/include/panic.h +++ b/include/panic.h @@ -135,12 +135,12 @@ void panic_assert_fail(const char *msg, const char *func, const char *fname, * * @param msg Panic message */ -void panic(const char *msg); +void panic(const char *msg) __attribute__((noreturn)); /** * Display a default message and reset */ -void panic_reboot(void); +void panic_reboot(void) __attribute__((noreturn)); #ifdef CONFIG_SOFTWARE_PANIC /** |