projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Treewide: use bool instead of _Bool
[collectd.git]
/
src
/
thermal.c
diff --git
a/src/thermal.c
b/src/thermal.c
index
9da8fa5
..
0f7f79f
100644
(file)
--- a/
src/thermal.c
+++ b/
src/thermal.c
@@
-35,7
+35,7
@@
static const char *config_keys[] = {"Device", "IgnoreSelected",
static const char *const dirname_sysfs = "/sys/class/thermal";
static 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
_B
ool force_procfs = 0;
+static
b
ool force_procfs = 0;
static ignorelist_t *device_list;
enum dev_type { TEMP = 0, COOLING_DEV };
static ignorelist_t *device_list;
enum dev_type { TEMP = 0, COOLING_DEV };
@@
-59,7
+59,7
@@
static int thermal_sysfs_device_read(const char __attribute__((unused)) * dir,
const char *name,
void __attribute__((unused)) * user_data) {
char filename[PATH_MAX];
const char *name,
void __attribute__((unused)) * user_data) {
char filename[PATH_MAX];
-
_B
ool success = 0;
+
b
ool success = 0;
value_t value;
if (device_list && ignorelist_match(device_list, name))
value_t value;
if (device_list && ignorelist_match(device_list, name))