summaryrefslogtreecommitdiff
path: root/include/glibtop/fsusage.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2004-03-16 10:10:41 +0000
committerBastien Nocera <hadess@src.gnome.org>2004-03-16 10:10:41 +0000
commit2b221cbb1f9384a2920c0c75d68247b96e7a6af3 (patch)
tree82789ae8d08443e34a0fbc81296f205bab801cf4 /include/glibtop/fsusage.h
parent1cffda35ec3f37c5ced8c1051db324ad9126a8c5 (diff)
downloadlibgtop-2b221cbb1f9384a2920c0c75d68247b96e7a6af3.tar.gz
set GLIBTOP_MAX_FSUSAGE properly, use gint in the headers instead of int
2004-03-15 Bastien Nocera <hadess@hadess.net> * include/glibtop/fsusage.h: set GLIBTOP_MAX_FSUSAGE properly, use gint in the headers instead of int (Closes: #125049) 2004-03-15 Bastien Nocera <hadess@hadess.net> * fsusage.c: * fsusage.h: remove use of uintmax_t
Diffstat (limited to 'include/glibtop/fsusage.h')
-rw-r--r--include/glibtop/fsusage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/glibtop/fsusage.h b/include/glibtop/fsusage.h
index fea3ecf3..7691c6bf 100644
--- a/include/glibtop/fsusage.h
+++ b/include/glibtop/fsusage.h
@@ -35,7 +35,7 @@ G_BEGIN_DECLS
#define GLIBTOP_FSUSAGE_FFREE 4
#define GLIBTOP_FSUSAGE_BLOCK_SIZE 6
-#define GLIBTOP_MAX_FSUSAGE 5
+#define GLIBTOP_MAX_FSUSAGE 6
typedef struct _glibtop_fsusage glibtop_fsusage;
@@ -48,7 +48,7 @@ struct _glibtop_fsusage
bavail, /* Free blocks available to non-superuser. */
files, /* Total file nodes. */
ffree; /* Free file nodes. */
- int block_size; /* Size of a block in bytes. */
+ gint block_size; /* Size of a block in bytes. */
};
#define glibtop_get_fsusage(fsusage,disk) glibtop_get_fsusage_l(glibtop_global_server, fsusage, disk)