summaryrefslogtreecommitdiff
path: root/components/libc/compilers/dlib/syscalls.c
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-09-28 13:48:39 +0800
committerGitHub <[email protected]>2021-09-28 13:48:39 +0800
commitd43a68e95e026ecc73eab7999677e46bbd4984ef (patch)
tree484d6bbc52f7352eb4b8ccad94e4fbc9b4d54b72 /components/libc/compilers/dlib/syscalls.c
parentae49c3f560dd4d15f4fa93f0811b6f5ced083da0 (diff)
parentc80688126a013c53334464799e28fcf2e4f4fb8c (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.c7
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);
-}