diff --git a/repos/os/include/dde_kit/panic.h b/repos/os/include/dde_kit/panic.h index d98672b7e3..df58a544f0 100644 --- a/repos/os/include/dde_kit/panic.h +++ b/repos/os/include/dde_kit/panic.h @@ -19,7 +19,7 @@ * * \param fmt message format string */ -void dde_kit_panic(const char *fmt, ...); +__attribute__((noreturn)) void dde_kit_panic(const char *fmt, ...); /** * Print debug message and block