summaryrefslogtreecommitdiff
path: root/components/libc/compilers/armlibc
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-02-17 23:50:12 +0800
committerMeco Man <[email protected]>2021-02-17 23:50:12 +0800
commit263d856fa4025a727c0556f7fc286f79450d9932 (patch)
tree5bf4544c3630fcae9cf520ddc596c091d5c41a79 /components/libc/compilers/armlibc
parent933c54c668b8a9480a3f03c9ba3437763396a9cc (diff)
update
Diffstat (limited to 'components/libc/compilers/armlibc')
-rw-r--r--components/libc/compilers/armlibc/syscalls.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/libc/compilers/armlibc/syscalls.c b/components/libc/compilers/armlibc/syscalls.c
index eb31a9118a..37f296fc3a 100644
--- a/components/libc/compilers/armlibc/syscalls.c
+++ b/components/libc/compilers/armlibc/syscalls.c
@@ -258,8 +258,8 @@ void _ttywrch(int ch)
RT_WEAK void _sys_exit(int return_code)
{
- extern void __exit__(int status);
- __exit__(return_code);
+ extern void __rt_libc_exit(int status);
+ __rt_libc_exit(return_code);
while(1);
}
@@ -306,8 +306,8 @@ int remove(const char *filename)
#else
int system(const char *string)
{
- extern int __system__(const char *string);
- return __system__(string);
+ extern int __rt_libc_system(const char *string);
+ return __rt_libc_system(string);
}
#endif