From 2b221cbb1f9384a2920c0c75d68247b96e7a6af3 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 16 Mar 2004 10:10:41 +0000 Subject: set GLIBTOP_MAX_FSUSAGE properly, use gint in the headers instead of int 2004-03-15 Bastien Nocera * include/glibtop/fsusage.h: set GLIBTOP_MAX_FSUSAGE properly, use gint in the headers instead of int (Closes: #125049) 2004-03-15 Bastien Nocera * fsusage.c: * fsusage.h: remove use of uintmax_t --- include/glibtop/fsusage.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/glibtop/fsusage.h') 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) -- cgit v1.2.1