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:
Maxr1998 2020-06-02 12:37:03 +02:00
parent 111f230611
commit 3776a3657d
No known key found for this signature in database
GPG key ID: 3BA0CD3A11CDF7B8

View file

@ -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;