diff options
| author | Meco Man <[email protected]> | 2021-02-13 13:23:18 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-02-13 13:23:18 +0800 |
| commit | 23d4c200c99952a91c470928f9db8964c203fa6d (patch) | |
| tree | b59818233bd51592615a88ed0725cdf625c0dacb /components/libc/compilers/armlibc | |
| parent | b89b3958bc97b2df5eeca301f8a463cccab88fbc (diff) | |
add noreturn
Diffstat (limited to 'components/libc/compilers/armlibc')
| -rw-r--r-- | components/libc/compilers/armlibc/stubs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/compilers/armlibc/stubs.c b/components/libc/compilers/armlibc/stubs.c index 600100c554..a4879be0c6 100644 --- a/components/libc/compilers/armlibc/stubs.c +++ b/components/libc/compilers/armlibc/stubs.c @@ -270,6 +270,8 @@ RT_WEAK void _sys_exit(int return_code) rt_thread_suspend(self); rt_schedule(); } + + while(1); /* noreturn */ } /** |
