dns_db_t *db = NULL;
FILE* zonefile, *origfile;
char buf[4096];
- atomic_bool done = ATOMIC_VAR_INIT(false);
+ atomic_bool done;
int i = 0;
struct args args;
UNUSED(state);
+ atomic_init(&done, false);
+
result = dns_test_makezone("foo", &zone, NULL, true);
assert_int_equal(result, ISC_R_SUCCESS);
dns_view_t *view;
dns_zt_t *zt = NULL;
dns_db_t *db = NULL;
- atomic_bool done = ATOMIC_VAR_INIT(false);
+ atomic_bool done;
int i = 0;
struct args args;
UNUSED(state);
+ atomic_init(&done, false);
+
result = dns_test_makezone("foo", &zone1, NULL, true);
assert_int_equal(result, ISC_R_SUCCESS);
dns_zone_setfile(zone1, "testdata/zt/zone1.db",