diff options
| author | Meco Man <[email protected]> | 2021-02-17 00:18:49 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-02-17 00:18:49 +0800 |
| commit | 9f5878b2fbdf90afb9c92dc40d99b79905b2b158 (patch) | |
| tree | 3dbcbaefd414aa984a6dcfc564e61a7e15ebd2b7 /components/libc/compilers/armlibc/syscalls.c | |
| parent | e927a53b41fa58573e14eccac37374d686ad3cf7 (diff) | |
update
Diffstat (limited to 'components/libc/compilers/armlibc/syscalls.c')
| -rw-r--r-- | components/libc/compilers/armlibc/syscalls.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/libc/compilers/armlibc/syscalls.c b/components/libc/compilers/armlibc/syscalls.c index 43b655e1a6..eb31a9118a 100644 --- a/components/libc/compilers/armlibc/syscalls.c +++ b/components/libc/compilers/armlibc/syscalls.c @@ -258,8 +258,9 @@ void _ttywrch(int ch) RT_WEAK void _sys_exit(int return_code) { - extern rt_inline void __exit__(int status); + extern void __exit__(int status); __exit__(return_code); + while(1); } /** @@ -305,7 +306,7 @@ int remove(const char *filename) #else int system(const char *string) { - extern rt_inline int __system__(const char *string); + extern int __system__(const char *string); return __system__(string); } #endif |
