From: Paul Eggert Date: Mon, 2 Aug 2004 18:43:56 +0000 (+0000) Subject: Include . X-Git-Tag: v5.3.0~960 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11e8886958ed745a0bfe2113478105d9b508b36a;p=thirdparty%2Fcoreutils.git Include . (struct fs_usage): Use uintmax_t for block sizes, so that they're not limited to INT_MAX. Use bool for booleans. --- diff --git a/lib/fsusage.h b/lib/fsusage.h index 060d957e9c..7528b89023 100644 --- a/lib/fsusage.h +++ b/lib/fsusage.h @@ -22,13 +22,15 @@ #if !defined FSUSAGE_H_ # define FSUSAGE_H_ +# include + struct fs_usage { - int fsu_blocksize; /* Size of a block. */ + uintmax_t fsu_blocksize; /* Size of a block. */ uintmax_t fsu_blocks; /* Total blocks. */ uintmax_t fsu_bfree; /* Free blocks available to superuser. */ uintmax_t fsu_bavail; /* Free blocks available to non-superuser. */ - int fsu_bavail_top_bit_set; /* 1 if fsu_bavail represents a value < 0. */ + bool fsu_bavail_top_bit_set; /* 1 if fsu_bavail represents a value < 0. */ uintmax_t fsu_files; /* Total file nodes. */ uintmax_t fsu_ffree; /* Free file nodes. */ };