mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
dde_kit: panic does not return
The attributes enables to use panic as final statement in branches of functions declared to return.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user