]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use clang-format-21 to update formatting
authorMichal Nowak <mnowak@isc.org>
Tue, 21 Oct 2025 10:13:05 +0000 (12:13 +0200)
committerMichal Nowak <mnowak@isc.org>
Tue, 21 Oct 2025 10:13:05 +0000 (12:13 +0200)
lib/dns/include/dns/librpz.h
lib/dns/include/dns/rrl.h
tests/include/tests/isc.h

index 060943c32be6b1545061e4b1eb574003afd989e6..a5d46fa71929c223ef8ca5a544e7fea10ccfc376 100644 (file)
@@ -170,8 +170,8 @@ typedef struct librpz_result {
        librpz_dznum_t     dznum;   /* dnsrpzd zone number */
        librpz_cznum_t     cznum;   /* librpz client zone number */
        librpz_trig_t      trig : LIBRPZ_TRIG_SIZE;
-       bool               log : 1; /* log rewrite given librpz_log_level
-                                    * */
+       bool               log  : 1; /* log rewrite given librpz_log_level
+                                     * */
 } librpz_result_t;
 
 /**
index bdffed99ac0189ae711bf7e8929350ffa8d08840..48d582715a74e1d4431da39dfe5253cf6f690533 100644 (file)
@@ -112,11 +112,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;
 
index eaee11768f4f29052cf05d3046d0c233d462b15b..95fee18d613674e83db2b3df461a462c74fc0ff7 100644 (file)
@@ -117,8 +117,8 @@ teardown_managers(void **state);
                isc_mem_debugging |= ISC_MEM_DEBUGRECORD;                               \
                isc_mem_create(&mctx);                                                  \
                                                                                         \
-               while ((c = isc_commandline_parse(argc, argv, "dlt:")) != -1)           \
-               {                                                                       \
+               while ((c = isc_commandline_parse(argc, argv, "dlt:")) !=               \
+                      -1) {                                                            \
                        switch (c) {                                                    \
                        case 'd':                                                       \
                                debug = true;                                           \