Revert "Revert "Code clean up and add example""

This reverts commit ea08151ae6.
This commit is contained in:
James Dominic P. Guana
2021-04-10 18:20:21 +08:00
committed by Robert Roth
parent 48595809ed
commit 2ec1815e6c
21 changed files with 238 additions and 20 deletions

View File

@@ -72,9 +72,9 @@ glibtop_get_cpu(glibtop_cpu *buf)
*
*/
void
glibtop_get_cpu (glibtop_cpu *buf)
glibtop_get_disk (glibtop_disk *buf)
{
glibtop_get_cpu_l (glibtop_global_server, buf);
glibtop_get_disk_l (glibtop_global_server, buf);
}