diff --git a/arch/arm/include/los_exc.h b/arch/arm/include/los_exc.h index 28e83f595d9b0e2cbe9af5500629e7ce3348d738..0a265cdcc16fbdc818bf2de3520cf8af32822c07 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