mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2025-08-25 15:51:41 +01:00
include: Add __noreturn define for noreturn function attribute
There are quite a few noreturn functions in OpenSBI hence we add commong __noreturn define for noreturn functin attribute. Signed-off-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
@@ -54,4 +54,6 @@ typedef unsigned long physical_size_t;
|
|||||||
|
|
||||||
#define NULL ((void *)0)
|
#define NULL ((void *)0)
|
||||||
|
|
||||||
|
#define __noreturn __attribute__((noreturn))
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user