mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-19 12:14:30 +08:00
update
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user