summaryrefslogtreecommitdiff
path: root/include/glibtop/disk.h
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2020-11-06 09:52:00 -0600
committerMichael Catanzaro <mcatanzaro@gnome.org>2020-11-06 09:52:00 -0600
commit30bf8d04183c26ca48c6cd4efe4c24058a082783 (patch)
treea2d4e2598e52ba8863182d76515caaed1dce65ab /include/glibtop/disk.h
parentea08151ae6582a438db76b738293a0194c964b88 (diff)
downloadlibgtop-30bf8d04183c26ca48c6cd4efe4c24058a082783.tar.gz
Revert "Handle LVM and RAID"
This reverts commit 9cbb3b91f11ad0c4944a1428d609201c054cffab.
Diffstat (limited to 'include/glibtop/disk.h')
-rw-r--r--include/glibtop/disk.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/glibtop/disk.h b/include/glibtop/disk.h
index cdde7796..8843112c 100644
--- a/include/glibtop/disk.h
+++ b/include/glibtop/disk.h
@@ -42,14 +42,6 @@ G_BEGIN_DECLS
typedef struct _glibtop_disk glibtop_disk;
-struct _partition_info
-{
- char name[256];
- char type[256];
- char raid_num[256];
- int max;
-};
-
struct _glibtop_disk
{
guint64 xdisk_sectors_read [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_SECTORS_READ */
@@ -58,7 +50,7 @@ struct _glibtop_disk
guint64 xdisk_time_write [GLIBTOP_NDISK]; /* GLIBTOP_XDISK_TIME_WRITE */
};
-void glibtop_get_disk (glibtop_disk *buf);
+void glibtop_get_disk(glibtop_disk *buf);
#if GLIBTOP_SUID_DISK
#define glibtop_get_disk_r glibtop_get_disk_p