|
@@ -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
|