2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

Use clang-format-21 to update formatting

This commit is contained in:
Michal Nowak
2025-08-21 14:57:36 +02:00
parent 747654f918
commit 38f6a495f7
3 changed files with 6 additions and 5 deletions

View File

@@ -111,11 +111,11 @@ struct dns_rrl_entry {
unsigned int log_qname : DNS_RRL_QNAMES_BITS; unsigned int log_qname : DNS_RRL_QNAMES_BITS;
#define DNS_RRL_TS_GEN_BITS 2 #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; unsigned int ts_valid : 1;
#define DNS_RRL_HASH_GEN_BITS 1 #define DNS_RRL_HASH_GEN_BITS 1
unsigned int hash_gen : DNS_RRL_HASH_GEN_BITS; unsigned int hash_gen : DNS_RRL_HASH_GEN_BITS;
unsigned int logged : 1; unsigned int logged : 1;
#define DNS_RRL_LOG_BITS 11 #define DNS_RRL_LOG_BITS 11
unsigned int log_secs : DNS_RRL_LOG_BITS; unsigned int log_secs : DNS_RRL_LOG_BITS;

View File

@@ -1556,7 +1556,8 @@ isc__log_initialize(void) {
isc__lctx = isc_mem_get(mctx, sizeof(*isc__lctx)); isc__lctx = isc_mem_get(mctx, sizeof(*isc__lctx));
*isc__lctx = (isc_log_t){ *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); isc_mutex_init(&isc__lctx->lock);

View File

@@ -180,8 +180,8 @@ teardown_managers(void **state);
setup_mctx(NULL); \ setup_mctx(NULL); \
setup_workers(NULL); \ setup_workers(NULL); \
\ \
while ((c = isc_commandline_parse(argc, argv, "dlt:")) != -1) \ while ((c = isc_commandline_parse(argc, argv, "dlt:")) != \
{ \ -1) { \
switch (c) { \ switch (c) { \
case 'd': \ case 'd': \
debug = true; \ debug = true; \