summaryrefslogtreecommitdiff
path: root/bits
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-05-17 17:20:52 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-05-17 17:20:52 -0700
commit3e5aef87d76cfa7354f2b0d82b96e59280720796 (patch)
treeae435c08253fdf68b2095ba7d45d4b14a58db5a4 /bits
parent1ba7c3dca1c45eca7f1214bea2278c67ce8c45a2 (diff)
Add __fsword_t and use it in bits/statfs.h
Diffstat (limited to 'bits')
-rw-r--r--bits/types.h3
-rw-r--r--bits/typesizes.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/bits/types.h b/bits/types.h
index 6fb31c8184..041ace6316 100644
--- a/bits/types.h
+++ b/bits/types.h
@@ -176,6 +176,9 @@ __STD_TYPE __FSBLKCNT64_T_TYPE __fsblkcnt64_t;
__STD_TYPE __FSFILCNT_T_TYPE __fsfilcnt_t;
__STD_TYPE __FSFILCNT64_T_TYPE __fsfilcnt64_t;
+/* Type of miscellaneous file system fields. */
+__STD_TYPE __FSWORD_T_TYPE __fsword_t;
+
__STD_TYPE __SSIZE_T_TYPE __ssize_t; /* Type of a byte count, or error. */
/* Signed long type used in system calls. */
diff --git a/bits/typesizes.h b/bits/typesizes.h
index c254c55083..3fd4a2e067 100644
--- a/bits/typesizes.h
+++ b/bits/typesizes.h
@@ -44,6 +44,7 @@
#define __FSBLKCNT64_T_TYPE __UQUAD_TYPE
#define __FSFILCNT_T_TYPE __ULONGWORD_TYPE
#define __FSFILCNT64_T_TYPE __UQUAD_TYPE
+#define __FSWORD_T_TYPE __SWORD_TYPE
#define __ID_T_TYPE __U32_TYPE
#define __CLOCK_T_TYPE __SLONGWORD_TYPE
#define __TIME_T_TYPE __SLONGWORD_TYPE