From: Michal Nowak Date: Thu, 21 Aug 2025 12:57:36 +0000 (+0200) Subject: Use clang-format-21 to update formatting X-Git-Tag: v9.21.15~53^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c56785659ecddc97c686ecc1cefb199fb72d1b21;p=thirdparty%2Fbind9.git Use clang-format-21 to update formatting --- diff --git a/lib/dns/include/dns/rrl.h b/lib/dns/include/dns/rrl.h index 6c5be512fdc..38461e7f5f0 100644 --- a/lib/dns/include/dns/rrl.h +++ b/lib/dns/include/dns/rrl.h @@ -111,11 +111,11 @@ struct dns_rrl_entry { unsigned int log_qname : DNS_RRL_QNAMES_BITS; #define DNS_RRL_TS_GEN_BITS 2 - unsigned int ts_gen : DNS_RRL_TS_GEN_BITS; + unsigned int ts_gen : DNS_RRL_TS_GEN_BITS; unsigned int ts_valid : 1; #define DNS_RRL_HASH_GEN_BITS 1 unsigned int hash_gen : DNS_RRL_HASH_GEN_BITS; - unsigned int logged : 1; + unsigned int logged : 1; #define DNS_RRL_LOG_BITS 11 unsigned int log_secs : DNS_RRL_LOG_BITS; diff --git a/lib/isc/log.c b/lib/isc/log.c index 5c2bfe314b0..ad984c00688 100644 --- a/lib/isc/log.c +++ b/lib/isc/log.c @@ -1556,7 +1556,8 @@ isc__log_initialize(void) { isc__lctx = isc_mem_get(mctx, sizeof(*isc__lctx)); *isc__lctx = (isc_log_t){ - .magic = LCTX_MAGIC, .mctx = mctx, /* implicit attach */ + .magic = LCTX_MAGIC, + .mctx = mctx, /* implicit attach */ }; isc_mutex_init(&isc__lctx->lock); diff --git a/tests/include/tests/isc.h b/tests/include/tests/isc.h index 1f6e3fb6c26..78e7e106147 100644 --- a/tests/include/tests/isc.h +++ b/tests/include/tests/isc.h @@ -180,8 +180,8 @@ teardown_managers(void **state); setup_mctx(NULL); \ setup_workers(NULL); \ \ - while ((c = isc_commandline_parse(argc, argv, "dlt:")) != -1) \ - { \ + while ((c = isc_commandline_parse(argc, argv, "dlt:")) != \ + -1) { \ switch (c) { \ case 'd': \ debug = true; \