diff options
| author | Bernard Xiong <[email protected]> | 2021-09-28 13:48:39 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-09-28 13:48:39 +0800 |
| commit | d43a68e95e026ecc73eab7999677e46bbd4984ef (patch) | |
| tree | 484d6bbc52f7352eb4b8ccad94e4fbc9b4d54b72 /components/libc/compilers/dlib/syscalls.c | |
| parent | ae49c3f560dd4d15f4fa93f0811b6f5ced083da0 (diff) | |
| parent | c80688126a013c53334464799e28fcf2e4f4fb8c (diff) | |
Merge pull request #5105 from mysterywolf/part
[libc]新建gcc文件夹,将newlib和partical文件夹并入
Diffstat (limited to 'components/libc/compilers/dlib/syscalls.c')
| -rw-r--r-- | components/libc/compilers/dlib/syscalls.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/components/libc/compilers/dlib/syscalls.c b/components/libc/compilers/dlib/syscalls.c index e1c9562b3a..1ee6a3bc12 100644 --- a/components/libc/compilers/dlib/syscalls.c +++ b/components/libc/compilers/dlib/syscalls.c @@ -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); -} |
