diff options
author | Michael Catanzaro <mcatanzaro@gnome.org> | 2020-11-06 09:52:00 -0600 |
---|---|---|
committer | Michael Catanzaro <mcatanzaro@gnome.org> | 2020-11-06 09:52:00 -0600 |
commit | ea08151ae6582a438db76b738293a0194c964b88 (patch) | |
tree | 2456ecc117edf25ce43fecf625946a40e72007f6 /include/glibtop/disk.h | |
parent | 2229253e11ae5c729a703f0c72e006f46746c592 (diff) | |
download | libgtop-ea08151ae6582a438db76b738293a0194c964b88.tar.gz |
Revert "Code clean up and add example"
This reverts commit 7396970afe2290488fd072612a650353dd13a16d.
Diffstat (limited to 'include/glibtop/disk.h')
-rw-r--r-- | include/glibtop/disk.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/glibtop/disk.h b/include/glibtop/disk.h index 292924f6..cdde7796 100644 --- a/include/glibtop/disk.h +++ b/include/glibtop/disk.h @@ -46,20 +46,16 @@ struct _partition_info { char name[256]; char type[256]; - char raid_num[256]; + char raid_num[256]; int max; }; -typedef struct _partition_info partition_info; - struct _glibtop_disk { - guint64 flags; guint64 xdisk_sectors_read [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_SECTORS_READ */ guint64 xdisk_time_read [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_TIME_READ */ guint64 xdisk_sectors_write [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_SECTORS_WRITE */ guint64 xdisk_time_write [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_TIME_WRITE */ - guint64 xdisk_flags; }; void glibtop_get_disk (glibtop_disk *buf); |