summaryrefslogtreecommitdiff
path: root/components/dfs
diff options
context:
space:
mode:
authorMeco Jianting Man <[email protected]>2021-02-27 01:02:48 -0600
committerGitHub <[email protected]>2021-02-27 01:02:48 -0600
commit8932ffdb96b793031bbc71bb3bd23202939fcb2c (patch)
tree33ac8cd4afac62c449384ed20f2af94ab0b90708 /components/dfs
parentbc28df8b350f2118f418b966df0843c7f2c02496 (diff)
parent2bf53d315d62bd199c01fd2d6a7f05d1a6712153 (diff)
Merge pull request #21 from RT-Thread/master
pr
Diffstat (limited to 'components/dfs')
-rw-r--r--components/dfs/filesystems/nfs/rpc/types.h16
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;