Code

Use stdbool.h's bool type instead of _Bool.
[sysdb.git] / src / utils / channel.c
index 7c5c002ae545f43901e5b9dab352329936218b67..c72953e956911b9e69ffc6ab44889283c5d319b7 100644 (file)
@@ -32,9 +32,9 @@
 #include "utils/channel.h"
 
 #include <assert.h>
-
 #include <errno.h>
 
+#include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
 
@@ -60,9 +60,9 @@ struct sdb_channel {
 
        size_t head;
        size_t tail;
-       _Bool full;
+       bool  full;
 
-       _Bool shutdown;
+       bool shutdown;
 };
 
 /*