summaryrefslogtreecommitdiff
path: root/components/dfs
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-02-23 03:21:16 +0800
committerMeco Man <[email protected]>2021-02-23 03:21:16 +0800
commitb2d3317c6a7954423167316436c949fbcb1ce61d (patch)
treeb421a707a6c838e4418cfb9e32ae1aca704ce8f1 /components/dfs
parentc21f018b4a6ea88e1cbec86514056629a25ccb67 (diff)
remove minilibc
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;