X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmemory.c;h=ce9ef834d181fe0fddae15a786fb60f7f3054ba0;hb=f25d207699e013bb47c0083fe56b8358a98f6f4d;hp=80b110493399d1b738bc192ee5e373fde32a1365;hpb=1804ab004b8c7e14eac8c3a662747fbae4cf4aad;p=collectd.git diff --git a/src/memory.c b/src/memory.c index 80b11049..ce9ef834 100644 --- a/src/memory.c +++ b/src/memory.c @@ -94,8 +94,8 @@ static int pagesize; #error "No applicable input method." #endif -static _Bool values_absolute = 1; -static _Bool values_percentage = 0; +static bool values_absolute = 1; +static bool values_percentage; static int memory_config(oconfig_item_t *ci) /* {{{ */ { @@ -268,7 +268,7 @@ static int memory_read_internal(value_list_t *vl) { char *fields[8]; int numfields; - _Bool detailed_slab_info = 0; + bool detailed_slab_info = 0; gauge_t mem_total = 0; gauge_t mem_used = 0;