mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-26 03:12:16 -04:00
Use clang-format-19 to update formatting
This commit is contained in:
parent
07179f0897
commit
b5caae0633
4 changed files with 7 additions and 7 deletions
|
|
@ -148,11 +148,11 @@
|
|||
#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
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue