From 974db6a90f0efcf6b1171cf355a960fed7b1302d Mon Sep 17 00:00:00 2001 From: Robert Swiecki Date: Tue, 7 Jan 2025 09:38:47 +0100 Subject: [PATCH] make indent --- libhfcommon/util.c | 4 ++-- libhfcommon/util.h | 4 ++-- subproc.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libhfcommon/util.c b/libhfcommon/util.c index 610d1e3ae..73ec8f883 100644 --- a/libhfcommon/util.c +++ b/libhfcommon/util.c @@ -224,8 +224,8 @@ char* util_StrDup(const char* s) { return ret; } -static __thread bool rndThreadOnce = false; -static __thread uint64_t rndState[4]; +static __thread bool rndThreadOnce = false; +static __thread uint64_t rndState[4]; static void util_rndInitThread(void) { __attribute__((weak)) void arc4random_buf(void* buf, size_t nbytes); diff --git a/libhfcommon/util.h b/libhfcommon/util.h index 4ad5f0d67..3e8425e77 100644 --- a/libhfcommon/util.h +++ b/libhfcommon/util.h @@ -172,8 +172,8 @@ __attribute__((always_inline)) static inline bool ATOMIC_BITMAP_SET(uint8_t* add bool old; __asm__ __volatile__("lock bts %2, %0\n\t" "sbb %1, %1\n\t" - : "+m"(*addr), "=r"(old) - : "Ir"(offset % 8)); + : "+m"(*addr), "=r"(old) + : "Ir"(offset % 8)); return old; #else /* defined(__x86_64__) || defined(__i386__) */ return (ATOMIC_POST_OR(*addr, mask) & mask); diff --git a/subproc.c b/subproc.c index 3def39540..6d8b67008 100644 --- a/subproc.c +++ b/subproc.c @@ -268,7 +268,7 @@ static bool subproc_PrepareExecv(run_t* run) { environ = NULL; } for (size_t i = 0; i < ARRAYSIZE(run->global->exe.env_ptrs) && run->global->exe.env_ptrs[i]; - i++) { + i++) { putenv(run->global->exe.env_ptrs[i]); } char fuzzNo[128];