Replace custom isc_boolean_t with C standard bool type

This commit is contained in:
Ondřej Surý
2018-04-17 08:29:14 -07:00
parent cb6a185c69
commit 994e656977
546 changed files with 10785 additions and 10367 deletions

View File

@@ -7,6 +7,7 @@
#include <config.h>
#include <inttypes.h>
#include <stdbool.h>
#include <isc/util.h>
@@ -81,7 +82,7 @@ cleanup:
static isc_result_t
publish_zone(sample_instance_t *inst, dns_zone_t *zone) {
isc_result_t result;
isc_boolean_t freeze = ISC_FALSE;
bool freeze = false;
dns_zone_t *zone_in_view = NULL;
dns_view_t *view_in_zone = NULL;
isc_result_t lock_state = ISC_R_IGNORE;
@@ -123,7 +124,7 @@ publish_zone(sample_instance_t *inst, dns_zone_t *zone) {
run_exclusive_enter(inst, &lock_state);
if (inst->view->frozen) {
freeze = ISC_TRUE;
freeze = true;
dns_view_thaw(inst->view);
}
@@ -147,7 +148,7 @@ cleanup:
static isc_result_t
load_zone(dns_zone_t *zone) {
isc_result_t result;
isc_boolean_t zone_dynamic;
bool zone_dynamic;
uint32_t serial;
result = dns_zone_load(zone);