move noreturn attribute in front

Change-Id: I267fa3fcaa068fe9465231a5edac531b1b539eda
This commit is contained in:
Caoruihong 2021-04-21 17:19:07 +08:00
parent 4474869a07
commit 14f0d7286a
2 changed files with 3 additions and 3 deletions

View File

@ -82,7 +82,7 @@ extern VOID *HalTskStackInit(UINT32 taskID, UINT32 stackSize, VOID *topStack);
* <ul><li>los_hw.h: the header file that contains the API declaration.</li></ul> * <ul><li>los_hw.h: the header file that contains the API declaration.</li></ul>
* @see None. * @see None.
*/ */
LITE_OS_SEC_TEXT_MINOR VOID HalSysExit(VOID) NORETURN; LITE_OS_SEC_TEXT_MINOR NORETURN VOID HalSysExit(VOID);
/* * /* *
* @ingroup los_context * @ingroup los_context

View File

@ -501,8 +501,8 @@ extern VOID LOS_Msleep(UINT32 mSecs);
* @see * @see
*/ */
extern UINT32 LOS_Start(VOID); extern UINT32 LOS_Start(VOID);
extern VOID LOS_Reboot(VOID) NORETURN; extern NORETURN VOID LOS_Reboot(VOID);
extern VOID LOS_Panic(const CHAR *fmt, ...) NORETURN; extern NORETURN VOID LOS_Panic(const CHAR *fmt, ...);
/** /**