Skip to content

Commit

Permalink
make indent
Browse files Browse the repository at this point in the history
  • Loading branch information
robertswiecki committed Jan 7, 2025
1 parent c549b4c commit 974db6a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions libhfcommon/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions libhfcommon/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion subproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 974db6a

Please sign in to comment.