Fix build on GCC 10
Variable declarations in header files need the extern keyword to not cause duplication definition errors
This commit is contained in:
parent
111f230611
commit
3776a3657d
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue