mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-19 12:14:30 +08:00
[libc] 优化system 支持gcc
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
* Change Logs:
|
||||
* Date Author Notes
|
||||
* 2021-02-13 Meco Man implement exit() and abort()
|
||||
* 2021-02-20 Meco Man add system()
|
||||
*/
|
||||
#include <rtthread.h>
|
||||
|
||||
@@ -17,9 +16,3 @@ void __exit (int status)
|
||||
__rt_libc_exit(status);
|
||||
while(1);
|
||||
}
|
||||
|
||||
int system(const char * string)
|
||||
{
|
||||
extern int __rt_libc_system(const char *string);
|
||||
return __rt_libc_system(string);
|
||||
}
|
||||
|
Reference in New Issue
Block a user