Code

Use stdbool.h's bool type instead of _Bool.
[sysdb.git] / src / include / core / store.h
index 5507436742a79bc6d8cde34496c70dd87c61d4cf..6edbea4f173e89000f7869217b145a38ec3294be 100644 (file)
@@ -35,6 +35,7 @@
 #include "core/timeseries.h"
 #include "utils/strbuf.h"
 
+#include <stdbool.h>
 #include <stdio.h>
 
 #ifdef __cplusplus
@@ -151,7 +152,7 @@ sdb_store_host(const char *name, sdb_time_t last_update);
  * sdb_store_get_host increments the ref count of the host object. The caller
  * needs to deref it when no longer using it.
  */
-_Bool
+bool
 sdb_store_has_host(const char *name);
 
 sdb_store_obj_t *