block_size is now defined as a guint32 instead of a fuzzy gint.
* include/glibtop/fsusage.h: block_size is now defined as a guint32 instead of a fuzzy gint. * lib/sysdeps.c: (glibtop_get_sysdeps_r): Small cleanup.
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2004-06-12 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* include/glibtop/fsusage.h: block_size is now defined as a guint32
|
||||
instead of a fuzzy gint.
|
||||
|
||||
* lib/sysdeps.c: (glibtop_get_sysdeps_r): Small cleanup.
|
||||
|
||||
2004-06-12 Benoît Dejean <tazforever@dlfp.org>
|
||||
|
||||
* lib/init.c: Added missing initializer.
|
||||
|
@@ -48,7 +48,7 @@ struct _glibtop_fsusage
|
||||
bavail, /* Free blocks available to non-superuser. */
|
||||
files, /* Total file nodes. */
|
||||
ffree; /* Free file nodes. */
|
||||
gint block_size; /* Size of a block in bytes. */
|
||||
guint32 block_size; /* Size of a block in bytes. */
|
||||
};
|
||||
|
||||
#define glibtop_get_fsusage(fsusage,disk) glibtop_get_fsusage_l(glibtop_global_server, fsusage, disk)
|
||||
|
@@ -178,5 +178,5 @@ glibtop_init_func_t _glibtop_init_hook_p [] = {
|
||||
void
|
||||
glibtop_get_sysdeps_r (glibtop *server, glibtop_sysdeps *buf)
|
||||
{
|
||||
memcpy (buf, &server->sysdeps, sizeof (glibtop_sysdeps));
|
||||
*buf = server->sysdeps;
|
||||
}
|
||||
|
Reference in New Issue
Block a user