]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use clang-format-19 to update formatting
authorMichal Nowak <mnowak@isc.org>
Tue, 20 Aug 2024 18:06:26 +0000 (20:06 +0200)
committerMichal Nowak <mnowak@isc.org>
Thu, 22 Aug 2024 08:25:22 +0000 (10:25 +0200)
bin/named/server.c
lib/dns/rdata/generic/opt_41.c
lib/isc/include/isc/thread.h
lib/isc/netmgr/netmgr-int.h

index df02039f3e5fd364f6ff2a417281fbd0add44d28..1d30bb8f8246abdb7663f3dd6b157ef4298721d6 100644 (file)
 #endif /* HAVE_LMDB */
 
 #ifndef SIZE_MAX
-#define SIZE_MAX ((size_t) - 1)
+#define SIZE_MAX ((size_t)-1)
 #endif /* ifndef SIZE_MAX */
 
 #ifndef SIZE_AS_PERCENT
-#define SIZE_AS_PERCENT ((size_t) - 2)
+#define SIZE_AS_PERCENT ((size_t)-2)
 #endif /* ifndef SIZE_AS_PERCENT */
 
 #ifdef TUNE_LARGE
index e5e7168628af83111e651aab7acd4a5882689e01..07d873eda76305d1308a2f8775e5071c5e6d3321 100644 (file)
@@ -72,9 +72,9 @@ totext_opt(ARGS_TOTEXT) {
                        or = r;
                        or.length = length;
                        if (tctx->width == 0) { /* No splitting */
-                               RETERR(isc_base64_totext(& or, 60, "", target));
+                               RETERR(isc_base64_totext(&or, 60, "", target));
                        } else {
-                               RETERR(isc_base64_totext(& or, tctx->width - 2,
+                               RETERR(isc_base64_totext(&or, tctx->width - 2,
                                                         tctx->linebreak,
                                                         target));
                        }
index a70e2c793716151fc07cc5634feea9caabc83baa..5e44dee582f5baf5956408b227fd36067c1a6678 100644 (file)
@@ -48,6 +48,6 @@ isc_thread_yield(void);
 void
 isc_thread_setname(isc_thread_t thread, const char *name);
 
-#define isc_thread_self (uintptr_t) pthread_self
+#define isc_thread_self (uintptr_t)pthread_self
 
 ISC_LANG_ENDDECLS
index cc635e3f5f987ddb4b99f8ff0079f14b6aae3d8e..c13b6fae99f827cc52ed22d55894c86fa24ab41a 100644 (file)
@@ -126,9 +126,9 @@ isc__nm_dump_active(isc_nm_t *nm);
 
 #if defined(__linux__)
 #include <syscall.h>
-#define gettid() (uint32_t) syscall(SYS_gettid)
+#define gettid() (uint32_t)syscall(SYS_gettid)
 #else
-#define gettid() (uint32_t) pthread_self()
+#define gettid() (uint32_t)pthread_self()
 #endif
 
 #ifdef NETMGR_TRACE_VERBOSE