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 27c92bc..54311a6 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;