From 18a98d1cb49a49cd5ed3c95af692b9338a4e17af Mon Sep 17 00:00:00 2001 From: Caoruihong Date: Wed, 21 Apr 2021 17:19:56 +0800 Subject: [PATCH] move noreturn attribute in front Change-Id: Idce45c48e41b6794de21635517cab8a9d2c9ef03 --- arch/arm/include/los_exc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/los_exc.h b/arch/arm/include/los_exc.h index 28e83f59..0a265cdc 100644 --- a/arch/arm/include/los_exc.h +++ b/arch/arm/include/los_exc.h @@ -183,7 +183,7 @@ extern UINT32 LOS_ExcRegHook(EXC_PROC_FUNC excHook); * los_exc.h: the header file that contains the API declaration. * @see None. */ -VOID LOS_Panic(const CHAR *fmt, ...) NORETURN; +NORETURN VOID LOS_Panic(const CHAR *fmt, ...); /** * @ingroup los_exc -- GitLab