提交 ce9629cb 编写于 作者: L liruncong

[components/libc/compilers/armlibc]_sys_exit增加RT_WEAK限定,由具体bsp重新实现,通常需要关闭中断,关闭IO输出等

上级 d0239b43
......@@ -251,7 +251,7 @@ void _ttywrch(int ch)
#endif
}
void _sys_exit(int return_code)
RT_WEAK void _sys_exit(int return_code)
{
/* TODO: perhaps exit the thread which is invoking this function */
while (1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册