mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-19 03:13:34 +08:00
[libc] 优化system 支持gcc
This commit is contained in:
@@ -308,12 +308,6 @@ _ssize_t _write_r(struct _reent *ptr, int fd, const void *buf, size_t nbytes)
|
||||
#endif
|
||||
}
|
||||
|
||||
void _system(const char *s)
|
||||
{
|
||||
extern int __rt_libc_system(const char *string);
|
||||
__rt_libc_system(s);
|
||||
}
|
||||
|
||||
/* for exit() and abort() */
|
||||
__attribute__ ((noreturn)) void _exit (int status)
|
||||
{
|
||||
|
Reference in New Issue
Block a user