// section: rrtype list
-dynarray_declare(rrtype, uint16_t, DYNARRAY_VISIBILITY_STATIC, 64);
-dynarray_define(rrtype, uint16_t, DYNARRAY_VISIBILITY_STATIC);
+dynarray_declare(rrtype, uint16_t, DYNARRAY_VISIBILITY_STATIC, 64)
+dynarray_define(rrtype, uint16_t, DYNARRAY_VISIBILITY_STATIC)
static void rrtypelist_add(rrtype_dynarray_t *arr, uint16_t add_type)
{
printf("\n");
}
-dynarray_declare(entry, knot_db_val_t*, DYNARRAY_VISIBILITY_STATIC, 256);
-dynarray_define(entry, knot_db_val_t*, DYNARRAY_VISIBILITY_STATIC);
+dynarray_declare(entry, knot_db_val_t*, DYNARRAY_VISIBILITY_STATIC, 256)
+dynarray_define(entry, knot_db_val_t*, DYNARRAY_VISIBILITY_STATIC)
static void entry_dynarray_deep_free(entry_dynarray_t *d)
{
dynarray_foreach(entry, knot_db_val_t*, i, *d) {
gc_timer_t timer_analyze = { 0 }, timer_choose = { 0 }, timer_delete = { 0 }, timer_rw_txn = { 0 };
gc_timer_start(&timer_analyze);
- ctx_compute_categories_t cats = { 0 };
+ ctx_compute_categories_t cats = {{ 0 }};
ret = kr_gc_cache_iter(db, cb_compute_categories, &cats);
if (ret != KNOT_EOK) {
kr_gc_cache_close(&kres_db, db);