summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-08-30 22:27:09 -0400
committerMeco Man <[email protected]>2021-08-30 22:39:14 -0400
commitaab382c32ed0fb795d12191c7a59265f574e8466 (patch)
tree98b737db189338b2c7487ed29fe6d4fdbdbff557 /include
parent14d0001c2b0b94b109e4690e0935900ccf52bd7a (diff)
[rtlibc] remove libc_dirent.h
Diffstat (limited to 'include')
-rw-r--r--include/libc/libc_dirent.h17
-rw-r--r--include/rtlibc.h1
2 files changed, 0 insertions, 18 deletions
diff --git a/include/libc/libc_dirent.h b/include/libc/libc_dirent.h
deleted file mode 100644
index a86332e633..0000000000
--- a/include/libc/libc_dirent.h
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- */
-
-#ifndef LIBC_DIRENT_H__
-#define LIBC_DIRENT_H__
-
-#define DT_UNKNOWN 0x00
-#define DT_REG 0x01
-#define DT_DIR 0x02
-
-#endif
diff --git a/include/rtlibc.h b/include/rtlibc.h
index 4b145b1b1b..b59a29dadb 100644
--- a/include/rtlibc.h
+++ b/include/rtlibc.h
@@ -14,7 +14,6 @@
/* definitions for libc if toolchain has no these definitions */
#include "libc/libc_stat.h"
#include "libc/libc_fcntl.h"
-#include "libc/libc_dirent.h"
#ifndef RT_USING_LIBC
#if defined(__ARMCC_VERSION) || defined(__IAR_SYSTEMS_ICC__)