summaryrefslogtreecommitdiff
path: root/sysdeps/common/default.c
diff options
context:
space:
mode:
authorMichael Catanzaro <mcatanzaro@gnome.org>2020-11-06 09:52:01 -0600
committerMichael Catanzaro <mcatanzaro@gnome.org>2020-11-06 09:52:01 -0600
commit7e214414bf23d1ea34e7fdccb17a7f41040ffea9 (patch)
tree4ddb421111d8ffe6bc1a15948f442d622168d068 /sysdeps/common/default.c
parent30bf8d04183c26ca48c6cd4efe4c24058a082783 (diff)
downloadlibgtop-7e214414bf23d1ea34e7fdccb17a7f41040ffea9.tar.gz
Revert "New API to retrieve disk stats in Linux"
This reverts commit 9e62440b314fbf87bbeca865a4223311314c52a3.
Diffstat (limited to 'sysdeps/common/default.c')
-rw-r--r--sysdeps/common/default.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/sysdeps/common/default.c b/sysdeps/common/default.c
index c20f2938..e3b096f2 100644
--- a/sysdeps/common/default.c
+++ b/sysdeps/common/default.c
@@ -65,20 +65,6 @@ glibtop_get_cpu(glibtop_cpu *buf)
/**
- * glibtop_get_disk:
- * @buf: A location to return the disk usage.
- *
- * Get the DISK usage.
- *
- */
-void
-glibtop_get_cpu(glibtop_cpu *buf)
-{
- glibtop_get_cpu_l(glibtop_global_server, buf);
-}
-
-
-/**
* glibtop_get_fsusage:
* @buf: A location to return the file system usage.
* @mount_dir: mount dir where to get the information of usage.