From 263d856fa4025a727c0556f7fc286f79450d9932 Mon Sep 17 00:00:00 2001 From: Meco Man <920369182@qq.com> Date: Wed, 17 Feb 2021 23:50:12 +0800 Subject: update --- components/libc/compilers/armlibc/syscalls.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'components/libc/compilers/armlibc') 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 -- cgit v1.3.1