!174 将NORETURN声明放到函数前,KEIL不支持放在函数后

Merge pull request !174 from Caoruihong/fix_noreturn
This commit is contained in:
openharmony_ci 2021-04-22 11:26:46 +08:00 committed by Gitee
commit 0c1ff2ef76
1 changed files with 1 additions and 1 deletions

View File

@ -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