From ebb5bd9c0f079de8970b538fe48e5f5c60ea7ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicki=20K=C5=99=C3=AD=C5=BEek?= Date: Fri, 20 Sep 2024 16:06:55 +0200 Subject: [PATCH] Update code formatting clang 19 was updated in the base image. --- lib/dns/include/dns/rdata.h | 5 ++++- lib/isc/include/isc/net.h | 12 ++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/lib/dns/include/dns/rdata.h b/lib/dns/include/dns/rdata.h index ddbaad713b..36f79c8edd 100644 --- a/lib/dns/include/dns/rdata.h +++ b/lib/dns/include/dns/rdata.h @@ -117,7 +117,10 @@ struct dns_rdata { ISC_LINK(dns_rdata_t) link; }; -#define DNS_RDATA_INIT { NULL, 0, 0, 0, 0, { (void *)(-1), (void *)(-1) } } +#define DNS_RDATA_INIT \ + { \ + NULL, 0, 0, 0, 0, { (void *)(-1), (void *)(-1) } \ + } #define DNS_RDATA_CHECKINITIALIZED #ifdef DNS_RDATA_CHECKINITIALIZED diff --git a/lib/isc/include/isc/net.h b/lib/isc/include/isc/net.h index e7d0d565bf..eda799c60d 100644 --- a/lib/isc/include/isc/net.h +++ b/lib/isc/include/isc/net.h @@ -78,8 +78,10 @@ #ifndef IN6ADDR_LOOPBACK_INIT #ifdef s6_addr /*% IPv6 address loopback init */ -#define IN6ADDR_LOOPBACK_INIT \ - { { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 } } } +#define IN6ADDR_LOOPBACK_INIT \ + { \ + { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 } } \ + } #else /* ifdef s6_addr */ #define IN6ADDR_LOOPBACK_INIT \ { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 } } @@ -89,8 +91,10 @@ #ifndef IN6ADDR_V4MAPPED_INIT #ifdef s6_addr /*% IPv6 v4mapped prefix init */ -#define IN6ADDR_V4MAPPED_INIT \ - { { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff, 0, 0, 0, 0 } } } +#define IN6ADDR_V4MAPPED_INIT \ + { \ + { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff, 0, 0, 0, 0 } } \ + } #else /* ifdef s6_addr */ #define IN6ADDR_V4MAPPED_INIT \ { { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff, 0, 0, 0, 0 } }