Browse Source

adl: Declare variables using extern keyword

Luke Dashjr 5 years ago
parent
commit
99718ea225
1 changed files with 4 additions and 4 deletions
  1. 4 4
      adl.h

+ 4 - 4
adl.h

@@ -4,10 +4,10 @@
 
 
 #include <stdbool.h>
 #include <stdbool.h>
 
 
-bool adl_active;
-bool opt_reorder;
-const int opt_targettemp;
-const int opt_overheattemp;
+extern bool adl_active;
+extern bool opt_reorder;
+extern const int opt_targettemp;
+extern const int opt_overheattemp;
 void init_adl(int nDevs);
 void init_adl(int nDevs);
 float gpu_temp(int gpu);
 float gpu_temp(int gpu);
 int gpu_engineclock(int gpu);
 int gpu_engineclock(int gpu);