Code

proto: Renamed sdb_proto_get_int to sdb_proto_unmarshal_int.
[sysdb.git] / src / utils / channel.c
index a45247a71060503b55589655e2cd6711dd1bcd7f..c72953e956911b9e69ffc6ab44889283c5d319b7 100644 (file)
  * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+#if HAVE_CONFIG_H
+#      include "config.h"
+#endif /* HAVE_CONFIG_H */
+
 #include "utils/channel.h"
 
 #include <assert.h>
-
 #include <errno.h>
 
+#include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
 
@@ -56,9 +60,9 @@ struct sdb_channel {
 
        size_t head;
        size_t tail;
-       _Bool full;
+       bool  full;
 
-       _Bool shutdown;
+       bool shutdown;
 };
 
 /*