summaryrefslogtreecommitdiff
path: root/include/rtlibc.h
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-09-11 20:00:39 +0800
committerGitHub <[email protected]>2021-09-11 20:00:39 +0800
commit4423b487c551e0220233bc84f290abd5a1b8c2f4 (patch)
tree0d237cb8cdb7bf80a0df677d3fbd8108b41f3e15 /include/rtlibc.h
parent8907d3216713dfeb4a65b4cd2f8ef8da0beec237 (diff)
parent51e055963127f443595e29fc493dcd22f33ac0f1 (diff)
Merge pull request #5044 from BernardXiong/libc_pr
[libc] remove rtlibc
Diffstat (limited to 'include/rtlibc.h')
-rw-r--r--include/rtlibc.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/include/rtlibc.h b/include/rtlibc.h
deleted file mode 100644
index b59a29dadb..0000000000
--- a/include/rtlibc.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Copyright (c) 2006-2021, RT-Thread Development Team
- *
- * SPDX-License-Identifier: Apache-2.0
- *
- * Change Logs:
- * Date Author Notes
- * 2017-01-21 Bernard the first version
- */
-
-#ifndef RTLIBC_H__
-#define RTLIBC_H__
-
-/* definitions for libc if toolchain has no these definitions */
-#include "libc/libc_stat.h"
-#include "libc/libc_fcntl.h"
-
-#ifndef RT_USING_LIBC
-#if defined(__ARMCC_VERSION) || defined(__IAR_SYSTEMS_ICC__)
-typedef signed long off_t;
-typedef int mode_t;
-#endif
-#endif
-
-#if defined(__MINGW32__) || defined(_WIN32)
-typedef signed long off_t;
-typedef int mode_t;
-#endif
-
-#endif
-