From: Vincent Brillault Date: Sat, 23 Aug 2014 14:30:06 +0000 (+0200) Subject: Turbostat: use _Bool for boolean values X-Git-Tag: collectd-5.5.0~24^2~55 X-Git-Url: https://git.octo.it/?p=collectd.git;a=commitdiff_plain;h=e774e5ba04f8bdd4ea6cbc0308be3dc571752565 Turbostat: use _Bool for boolean values --- diff --git a/src/turbostat.c b/src/turbostat.c index 03ffaf5e..0f84a991 100644 --- a/src/turbostat.c +++ b/src/turbostat.c @@ -72,10 +72,11 @@ static _Bool aperf_mperf_unstable; static unsigned int do_core_cstate; static unsigned int do_pkg_cstate; -static unsigned int do_rapl; -static unsigned int do_dts; -static unsigned int do_ptm; +static _Bool do_dts; +static _Bool do_ptm; static unsigned int tcc_activation_temp; + +static unsigned int do_rapl; static double rapl_energy_units; #define RAPL_PKG (1 << 0)