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:
Anup Patel
2019-01-14 13:55:35 +05:30
committed by Anup Patel
parent 647f36f5f9
commit 5ef104062d

View File

@@ -54,4 +54,6 @@ typedef unsigned long physical_size_t;
#define NULL ((void *)0)
#define __noreturn __attribute__((noreturn))
#endif