Code

Use stdbool.h's bool type instead of _Bool.
[sysdb.git] / src / include / core / data.h
index 997cf9f0a320c616af5074c86f749a03b1dca8b1..c179fea84b142f836a24eb4791eb12194344f12e 100644 (file)
@@ -31,6 +31,7 @@
 #include "core/time.h"
 
 #include <inttypes.h>
+#include <stdbool.h>
 #include <stddef.h>
 
 #include <sys/types.h>
@@ -161,7 +162,7 @@ sdb_data_strcmp(const sdb_data_t *d1, const sdb_data_t *d2);
  * either datum is NULL or if the type is SDB_TYPE_NULL or if the string or
  * binary datum is NULL.
  */
-_Bool
+bool
 sdb_data_isnull(const sdb_data_t *datum);
 
 /*
@@ -173,7 +174,7 @@ sdb_data_isnull(const sdb_data_t *datum);
  * elements of the first array are included in the second where order does not
  * matter.
  */
-_Bool
+bool
 sdb_data_inarray(const sdb_data_t *value, const sdb_data_t *array);
 
 /*