X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmemory.c;h=366ca1c895dd7607c440a696e33cd41746752583;hb=4e89060ceb1a14ec7f9abfe9caa6b0da7e76bd5c;hp=80b110493399d1b738bc192ee5e373fde32a1365;hpb=22813e1a6a3d059efc67975893df985052661a7a;p=collectd.git diff --git a/src/memory.c b/src/memory.c index 80b11049..366ca1c8 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 = true; +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;