mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00: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:
parent
ac47053b2f
commit
f8dcf76480
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user