diff options
| author | Bernard Xiong <[email protected]> | 2021-02-27 09:12:45 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-27 09:12:45 +0800 |
| commit | 2bf53d315d62bd199c01fd2d6a7f05d1a6712153 (patch) | |
| tree | 33ac8cd4afac62c449384ed20f2af94ab0b90708 /components/dfs | |
| parent | ff469fee305ebef65dff99d6bc7b2eb8f18544eb (diff) | |
| parent | 6ee0d45644649eccea4edf89967f5eeca413478f (diff) | |
Merge pull request #4369 from mysterywolf/removeminilibc
[libc]移除minilibc 并将其职能并入newlibc中
Diffstat (limited to 'components/dfs')
| -rw-r--r-- | components/dfs/filesystems/nfs/rpc/types.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/components/dfs/filesystems/nfs/rpc/types.h b/components/dfs/filesystems/nfs/rpc/types.h index 254fcd339c..d76d89146c 100644 --- a/components/dfs/filesystems/nfs/rpc/types.h +++ b/components/dfs/filesystems/nfs/rpc/types.h @@ -47,15 +47,7 @@ #include <string.h> #include <stdint.h> - -#ifndef RT_USING_MINILIBC -typedef unsigned int u_int; -typedef unsigned char u_char; -typedef unsigned long u_long; -#else #include <sys/types.h> -#include <stdint.h> -#endif typedef long long int64_t; typedef unsigned long long uint64_t; @@ -63,14 +55,6 @@ typedef unsigned long long uint64_t; typedef int bool_t; typedef int enum_t; -#ifndef RT_USING_NEWLIB -typedef unsigned long dev_t; -#endif - -#if !defined(RT_USING_NEWLIB) && !defined(RT_USING_MINILIBC) -typedef rt_int32_t ssize_t; -#endif - /* This needs to be changed to uint32_t in the future */ typedef unsigned long rpcprog_t; typedef unsigned long rpcvers_t; |
