summaryrefslogtreecommitdiffstats
path: root/libc/include
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-01-07 17:44:51 -0800
committerElliott Hughes <enh@google.com>2014-01-07 17:44:51 -0800
commitabfc88fed79fced91b3b2cd8f3eb20f98c03452d (patch)
treec7b35bb701b46c744c0d88ccc8f942dbf7dcc255 /libc/include
parent27a4bb319885f9ed218ebca02a92870582b35fd4 (diff)
downloadbionic-abfc88fed79fced91b3b2cd8f3eb20f98c03452d.zip
bionic-abfc88fed79fced91b3b2cd8f3eb20f98c03452d.tar.gz
bionic-abfc88fed79fced91b3b2cd8f3eb20f98c03452d.tar.bz2
Define fsid_t as well as __fsid_t.
Change-Id: Ib8efbd913a0e6bfe27b88c1342bd5cec926dd74e
Diffstat (limited to 'libc/include')
-rw-r--r--libc/include/sys/vfs.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/include/sys/vfs.h b/libc/include/sys/vfs.h
index 79995bb..10fe502 100644
--- a/libc/include/sys/vfs.h
+++ b/libc/include/sys/vfs.h
@@ -36,6 +36,7 @@ __BEGIN_DECLS
/* The kernel's __kernel_fsid_t has a 'val' member but glibc uses '__val'. */
typedef struct { int __val[2]; } __fsid_t;
+typedef __fsid_t fsid_t;
#if defined(__LP64__)
struct statfs {
@@ -46,7 +47,7 @@ struct statfs {
uint64_t f_bavail;
uint64_t f_files;
uint64_t f_ffree;
- __fsid_t f_fsid;
+ fsid_t f_fsid;
uint64_t f_namelen;
uint64_t f_frsize;
uint64_t f_flags;
@@ -64,7 +65,7 @@ struct statfs {
uint64_t f_files;
uint64_t f_ffree;
uint64_t f_bavail;
- __fsid_t f_fsid;
+ fsid_t f_fsid;
uint32_t f_namelen;
uint32_t f_flags;
uint32_t f_spare[5];
@@ -79,7 +80,7 @@ struct statfs {
uint64_t f_bavail;
uint64_t f_files;
uint64_t f_ffree;
- __fsid_t f_fsid;
+ fsid_t f_fsid;
uint32_t f_namelen;
uint32_t f_frsize;
uint32_t f_flags;