diff options
| author | Meco Man <[email protected]> | 2021-04-18 00:51:07 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2021-04-18 00:51:07 +0800 |
| commit | 9d401ea8b06518a49b59b6d246325afa5902e3f4 (patch) | |
| tree | 27b26edc705bad8c61938f92942eaf32204f1bb8 /components/libc/compilers/common/stdlib.c | |
| parent | 349a85e83f2a9db7786335674bb65d6d1d7f1dab (diff) | |
重新整理libc重复共用文件,创建common_for_all 和 common_for_keiliar
Diffstat (limited to 'components/libc/compilers/common/stdlib.c')
| -rw-r--r-- | components/libc/compilers/common/stdlib.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/components/libc/compilers/common/stdlib.c b/components/libc/compilers/common/stdlib.c deleted file mode 100644 index 9d8952e99e..0000000000 --- a/components/libc/compilers/common/stdlib.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2006-2021, RT-Thread Development Team - * - * SPDX-License-Identifier: Apache-2.0 - * - * Change Logs: - * Date Author Notes - * 2021-02-15 Meco Man first version - */ - -#include <rtthread.h> - -void __rt_libc_exit(int status) -{ - rt_thread_t self = rt_thread_self(); - - if (self != RT_NULL) - { - rt_kprintf("thread:%s exit:%d!\n", self->name, status); - rt_thread_control(self, RT_THREAD_CTRL_CLOSE, RT_NULL); - } -} - -int __rt_libc_system(const char *string) -{ - /* TODO */ - return 0; -} |
