X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fdaemon%2Fconfigfile.h;h=108609cb27872a752e83c399acef181d9a7defea;hp=7cebb97ecab7c9df4c29af4375d9e0fd8726f6d3;hb=d486225f89ea52d8ed2b4242eba2ad94c409f837;hpb=358bf39b09f69220fc8e1b6c2fe98e5e185e3364 diff --git a/src/daemon/configfile.h b/src/daemon/configfile.h index 7cebb97e..108609cb 100644 --- a/src/daemon/configfile.h +++ b/src/daemon/configfile.h @@ -89,7 +89,7 @@ int cf_register_complex(const char *type, int (*callback)(oconfig_item_t *)); */ int cf_read(const char *filename); -int global_option_set(const char *option, const char *value, _Bool from_cli); +int global_option_set(const char *option, const char *value, bool from_cli); const char *global_option_get(const char *option); long global_option_get_long(const char *option, long default_value); @@ -115,7 +115,7 @@ int cf_util_get_double(const oconfig_item_t *ci, double *ret_value); /* Assures the config option is a boolean and assignes it to `ret_bool'. * Otherwise, `ret_bool' is not changed and non-zero is returned. */ -int cf_util_get_boolean(const oconfig_item_t *ci, _Bool *ret_bool); +int cf_util_get_boolean(const oconfig_item_t *ci, bool *ret_bool); /* Assures the config option is a boolean and set or unset the given flag in * `ret_value' as appropriate. Returns non-zero on error. */