From e774e5ba04f8bdd4ea6cbc0308be3dc571752565 Mon Sep 17 00:00:00 2001 From: Vincent Brillault Date: Sat, 23 Aug 2014 16:30:06 +0200 Subject: [PATCH] Turbostat: use _Bool for boolean values --- src/turbostat.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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) -- 2.11.0