aboutsummaryrefslogtreecommitdiff
path: root/src/sysfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysfs.c')
-rw-r--r--src/sysfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sysfs.c b/src/sysfs.c
index 692ef47..ea59c1b 100644
--- a/src/sysfs.c
+++ b/src/sysfs.c
@@ -1,9 +1,8 @@
#include <glib.h>
#include <stdio.h>
+#include "sysfs.h"
#include "zenmonitor.h"
-#define SYSFS_DIR_CPUS "/sys/bus/cpu/devices"
-
gshort* get_cpu_dev_ids(){
gshort *cpu_dev_ids = NULL;
gshort coreid, cpuid;