Code

thermal plugin: mark some variables as static
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 16:53:13 +0000 (17:53 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 16:53:13 +0000 (17:53 +0100)
src/thermal.c

index 27c92bc730c65b44c54c25bd9dc27a75c279980c..54311a647cc786aa40c27e85b4b1a514e0dbad11 100644 (file)
@@ -35,8 +35,8 @@ static const char *config_keys[] = {
        "ForceUseProcfs"
 };
 
-const char *const dirname_sysfs = "/sys/class/thermal";
-const char *const dirname_procfs = "/proc/acpi/thermal_zone";
+static const char *const dirname_sysfs = "/sys/class/thermal";
+static const char *const dirname_procfs = "/proc/acpi/thermal_zone";
 
 static _Bool force_procfs = 0;
 static ignorelist_t *device_list;