X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdisk.c;h=317e10541081c03b4eea2415d8fa0be6bc28ab7c;hb=61a4ed99b1a5b6d371bb745933d0efc5dff9505c;hp=116fc244868cdafd3abbd334af37ddb68c308e15;hpb=506fbd9f7cc988eb9e0999c4779ff77c286e970f;p=collectd.git diff --git a/src/disk.c b/src/disk.c index 116fc244..317e1054 100644 --- a/src/disk.c +++ b/src/disk.c @@ -82,7 +82,7 @@ static mach_port_t io_master_port = MACH_PORT_NULL; /* This defaults to false for backwards compatibility. Please fix in the next * major version. */ -static _Bool use_bsd_name = 0; +static bool use_bsd_name = 0; /* #endif HAVE_IOKIT_IOKITLIB_H */ #elif KERNEL_LINUX @@ -106,9 +106,9 @@ typedef struct diskstats { derive_t avg_read_time; derive_t avg_write_time; - _Bool has_merged; - _Bool has_in_progress; - _Bool has_io_time; + bool has_merged; + bool has_in_progress; + bool has_io_time; struct diskstats *next; } diskstats_t;