summaryrefslogtreecommitdiff
path: root/components/libc/compilers/dlib/syscalls.c
diff options
context:
space:
mode:
authorliukangcc <[email protected]>2021-10-14 10:31:44 +0800
committerliukangcc <[email protected]>2021-10-14 10:32:22 +0800
commit3ac36a31071f66a06217b4676fc7266ba66c906a (patch)
treebe32fc9b7abb102aa905fdba0165bf6adf4c065d /components/libc/compilers/dlib/syscalls.c
parent0369db718cd3b1ff58ceb2fc44a48641a0fecc66 (diff)
parent33263d7e4ec22b118d0407ec7488ccfa60a8a0a1 (diff)
[update] Fix compiler flags issue
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);
-}