X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fthermal.c;h=e001a62ac7f85a69259e6e5e047414ad4e8e9587;hb=5523a080010dcb7a61dc0dccc3969a2a048e52f9;hp=27c92bc730c65b44c54c25bd9dc27a75c279980c;hpb=27aeac9988dde1d53e5df697ce0e1b8a951d091a;p=collectd.git diff --git a/src/thermal.c b/src/thermal.c index 27c92bc7..e001a62a 100644 --- a/src/thermal.c +++ b/src/thermal.c @@ -20,9 +20,9 @@ **/ #include "collectd.h" + #include "common.h" #include "plugin.h" -#include "configfile.h" #include "utils_ignorelist.h" #if !KERNEL_LINUX @@ -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;