Treewide: use bool instead of _Bool
[collectd.git] / src / tail_csv.c
index f963528..9331142 100644 (file)
@@ -120,7 +120,7 @@ static int tcsv_read_metric(instance_definition_t *id, metric_definition_t *md,
   return tcsv_submit(id, md, v, t);
 }
 
-static _Bool tcsv_check_index(ssize_t index, size_t fields_num,
+static bool tcsv_check_index(ssize_t index, size_t fields_num,
                               char const *name) {
   if (index < 0)
     return 1;
@@ -513,7 +513,7 @@ static int tcsv_config(oconfig_item_t *ci) {
 } /* int tcsv_config */
 
 static int tcsv_init(void) { /* {{{ */
-  static _Bool have_init = 0;
+  static bool have_init = 0;
   metric_definition_t *md;
 
   if (have_init)