Treewide: use bool instead of _Bool
[collectd.git] / src / serial.c
index 2b77db6..1b587ca 100644 (file)
@@ -59,7 +59,7 @@ static int serial_read(void) {
   while (fgets(buffer, sizeof(buffer), fh) != NULL) {
     derive_t rx = 0;
     derive_t tx = 0;
-    _Bool have_rx = 0, have_tx = 0;
+    bool have_rx = 0, have_tx = 0;
     size_t len;
 
     char *fields[16];