Code

Use stdbool.h's bool type instead of _Bool.
[sysdb.git] / src / liboconfig / utils.c
index 26e3dc659c61ee82afc3f84ae0cb13cc6f02b4c8..e5a131208f18837c602616181a233c29dfe7b985 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include "oconfig.h"
+#include "utils.h"
 
 int
 oconfig_get_string(oconfig_item_t *ci, char **value)
@@ -52,7 +53,7 @@ oconfig_get_number(oconfig_item_t *ci, double *value)
 } /* oconfig_get_number */
 
 int
-oconfig_get_boolean(oconfig_item_t *ci, _Bool *value)
+oconfig_get_boolean(oconfig_item_t *ci, bool *value)
 {
        if (! ci)
                return -1;