diff options
| author | Meco Man <[email protected]> | 2021-12-26 09:41:24 -0500 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2021-12-30 01:27:25 +0800 |
| commit | ed09f38012131850cd67c1392554653b56a37341 (patch) | |
| tree | 63336abe8aac0d277e48c7286e3f303b88b35357 /components/libc/compilers/dlib/syscall_remove.c | |
| parent | 5925abce3ea69ad1e8db468c4015a6e76e217bb9 (diff) | |
[libc] remove RT_USING_LIBC
Diffstat (limited to 'components/libc/compilers/dlib/syscall_remove.c')
| -rw-r--r-- | components/libc/compilers/dlib/syscall_remove.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/components/libc/compilers/dlib/syscall_remove.c b/components/libc/compilers/dlib/syscall_remove.c index 870f91b8c1..9b5d596eb5 100644 --- a/components/libc/compilers/dlib/syscall_remove.c +++ b/components/libc/compilers/dlib/syscall_remove.c @@ -10,6 +10,10 @@ #include <rtthread.h> #include <LowLevelIOInterface.h> #include <unistd.h> +#include <compiler_private.h> +#define DBG_TAG "dlib.syscall.remove" +#define DBG_LVL DBG_INFO +#include <rtdbg.h> /* * The "remove" function should remove the file named "filename". It @@ -23,6 +27,7 @@ int remove(const char *filename) #ifdef DFS_USING_POSIX return unlink(filename); #else + LOG_W(warning_without_fs); return _LLIO_ERROR; #endif /* DFS_USING_POSIX */ } |
