summaryrefslogtreecommitdiff
path: root/sysdeps/linux/glibtop_private.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/linux/glibtop_private.c
parent30bf8d04183c26ca48c6cd4efe4c24058a082783 (diff)
downloadlibgtop-7e214414bf23d1ea34e7fdccb17a7f41040ffea9.tar.gz
Revert "New API to retrieve disk stats in Linux"
This reverts commit 9e62440b314fbf87bbeca865a4223311314c52a3.
Diffstat (limited to 'sysdeps/linux/glibtop_private.c')
-rw-r--r--sysdeps/linux/glibtop_private.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/sysdeps/linux/glibtop_private.c b/sysdeps/linux/glibtop_private.c
index 7b36561c..d3a49aa6 100644
--- a/sysdeps/linux/glibtop_private.c
+++ b/sysdeps/linux/glibtop_private.c
@@ -57,24 +57,6 @@ skip_token (const char *p)
}
-int
-check_alphanumeric_word (const char *p)
-{
- int test = 0;
- p = next_token(p);
- while (*p && !g_ascii_isspace(*p)) {
- if(g_ascii_isalpha(*p)){
- test = 0;
- }else if(g_ascii_isdigit(*p)){
- test = 1;
- }
- p++;
- };
- p = next_token(p);
- return test;
-}
-
-
/*
* Read functions
*/