]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Update sources to Clang 16 formatting
authorMichal Nowak <mnowak@isc.org>
Thu, 11 May 2023 12:26:14 +0000 (14:26 +0200)
committerMichal Nowak <mnowak@isc.org>
Thu, 11 May 2023 12:26:14 +0000 (14:26 +0200)
bin/tests/optional/rbt_test.c
lib/irs/getaddrinfo.c

index aff44d23a2ae344b56bd631ceaeb616dd764f796..735c229e8328f8d9c1c9212d8db57306144a3b07 100644 (file)
@@ -184,8 +184,8 @@ iterate(dns_rbt_t *rbt, bool forward) {
        dns_rbtnodechain_t chain;
        dns_fixedname_t fixedorigin;
        isc_result_t result;
-       isc_result_t (*move)(dns_rbtnodechain_t * chain, dns_name_t * name,
-                            dns_name_t * origin);
+       isc_result_t (*move)(dns_rbtnodechain_t *chain, dns_name_t *name,
+                            dns_name_t *origin);
 
        dns_rbtnodechain_init(&chain);
 
index f5b1a57a4ced6f11b48967e6d1b4585b941bb6b0..f450a558cac22ad5d0f6c3c9a64212f1052b4efa 100644 (file)
@@ -1356,7 +1356,8 @@ ai_concat(struct addrinfo *ai1, struct addrinfo *ai2) {
 
        for (ai_tmp = ai1; ai_tmp != NULL && ai_tmp->ai_next != NULL;
             ai_tmp = ai_tmp->ai_next)
-       {}
+       {
+       }
 
        ai_tmp->ai_next = ai2;