projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e44ff91
)
thermal plugin: mark some variables as static
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 16:53:13 +0000
(17:53 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 4 Mar 2016 16:53:13 +0000
(17:53 +0100)
src/thermal.c
patch
|
blob
|
history
diff --git
a/src/thermal.c
b/src/thermal.c
index
27c92bc
..
54311a6
100644
(file)
--- a/
src/thermal.c
+++ b/
src/thermal.c
@@
-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;