Author: Andreas Beckmann Description: use a consistent bool type Bug-Debian: #749724 --- a/i7z.h +++ b/i7z.h @@ -11,18 +11,13 @@ * ----------------------------------------------------------------------- */ #include +#include #define i7z_VERSION_INFO "svn-r93-(27-MAY-2013)" //structure to store the information about the processor #define proccpuinfo "/proc/cpuinfo" -#ifndef bool -#define bool int -#endif -#define false 0 -#define true 1 - #define MAX_PROCESSORS 128 #define MAX_HI_PROCESSORS MAX_PROCESSORS #define MAX_SK_PROCESSORS (MAX_PROCESSORS/4) --- a/cpuinfo.c +++ b/cpuinfo.c @@ -2,10 +2,8 @@ #include "string.h" #include "stdlib.h" #include "assert.h" +#include #define MAX_PROCESSORS 32 -#define bool int -#define false 0 -#define true 1 #define MAX_HI_PROCESSORS MAX_PROCESSORS