summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/bits/statfs.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-14 19:22:44 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-14 19:22:44 +0000
commit9138bf01b3b21ce23cfdf15fce3f30bb9a1fbc61 (patch)
treefb0ac2208e1a080dfae3f2ca5f1f90f568bf4165 /libc/sysdeps/linux/common/bits/statfs.h
parent6e3c1938ff129fb5385a963ec600111aa6228bdc (diff)
downloaduClibc-alpine-9138bf01b3b21ce23cfdf15fce3f30bb9a1fbc61.tar.bz2
uClibc-alpine-9138bf01b3b21ce23cfdf15fce3f30bb9a1fbc61.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/sysdeps/linux/common/bits/statfs.h')
-rw-r--r--libc/sysdeps/linux/common/bits/statfs.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/libc/sysdeps/linux/common/bits/statfs.h b/libc/sysdeps/linux/common/bits/statfs.h
index 78c9bdbbc..e115c4d75 100644
--- a/libc/sysdeps/linux/common/bits/statfs.h
+++ b/libc/sysdeps/linux/common/bits/statfs.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2000, 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,12 +20,12 @@
# error "Never include <bits/statfs.h> directly; use <sys/statfs.h> instead."
#endif
-#include <bits/types.h> /* for __fsid_t and __fsblkcnt_t*/
+#include <bits/types.h>
struct statfs
{
- int f_type;
- int f_bsize;
+ __SWORD_TYPE f_type;
+ __SWORD_TYPE f_bsize;
#ifndef __USE_FILE_OFFSET64
__fsblkcnt_t f_blocks;
__fsblkcnt_t f_bfree;
@@ -40,25 +40,25 @@ struct statfs
__fsfilcnt64_t f_ffree;
#endif
__fsid_t f_fsid;
- int f_namelen;
- int f_spare[6];
+ __SWORD_TYPE f_namelen;
+ __SWORD_TYPE f_spare[5];
};
#ifdef __USE_LARGEFILE64
struct statfs64
{
- int f_type;
- int f_bsize;
+ __SWORD_TYPE f_type;
+ __SWORD_TYPE f_bsize;
__fsblkcnt64_t f_blocks;
__fsblkcnt64_t f_bfree;
__fsblkcnt64_t f_bavail;
__fsfilcnt64_t f_files;
__fsfilcnt64_t f_ffree;
__fsid_t f_fsid;
- int f_namelen;
- int f_spare[6];
+ __SWORD_TYPE f_namelen;
+ __SWORD_TYPE f_spare[5];
};
#endif
-/* Tell code we have this member. */
+/* Tell code we have these members. */
#define _STATFS_F_NAMELEN