summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxr19982020-06-02 12:37:03 +0200
committerMaxr19982020-06-02 12:37:03 +0200
commit3776a3657d1856275b54cdd9a6f21b8163b12243 (patch)
treef7840b9ebfeb5d35dc7c40d0273e16b96a93a71b
parent111f23061187fed4a3de1e82b56ad203d3aac514 (diff)
Fix build on GCC 10
Variable declarations in header files need the extern keyword to not cause duplication definition errors
-rw-r--r--src/include/zenmonitor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/zenmonitor.h b/src/include/zenmonitor.h
index ff8f1a7..399d702 100644
--- a/src/include/zenmonitor.h
+++ b/src/include/zenmonitor.h
@@ -25,4 +25,4 @@ void sensor_init_free(SensorInit *s);
gboolean check_zen();
gchar *cpu_model();
guint get_core_count();
-gboolean display_coreid;
+extern gboolean display_coreid;