Use clang-format-19 to update formatting

This commit is contained in:
Michal Nowak 2024-08-20 20:06:26 +02:00
parent 07179f0897
commit b5caae0633
No known key found for this signature in database
4 changed files with 7 additions and 7 deletions

View file

@ -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

View 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));
}

View 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

View 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