From fdd66d4d0e0a48bc2b2430b07948ef42bc64e7db Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 14 Oct 2024 15:42:33 +0200 Subject: Fix whitespace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libsha2.h | 2 +- process.c | 6 +++--- sum_fd.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libsha2.h b/libsha2.h index 87c8c20..51b8344 100644 --- a/libsha2.h +++ b/libsha2.h @@ -67,7 +67,7 @@ struct libsha2_state { * For 32-bit algorithms */ uint_least32_t b32[64]; - + /** * For 64-bit algorithms */ diff --git a/process.c b/process.c index 9dae6dc..6f1451e 100644 --- a/process.c +++ b/process.c @@ -256,14 +256,14 @@ __attribute__((__constructor__)) static int have_sha_intrinsics(void) { - static volatile int ret = -1; - static volatile atomic_flag spinlock = ATOMIC_FLAG_INIT; + static volatile int ret = -1; + static volatile atomic_flag spinlock = ATOMIC_FLAG_INIT; int a, b, c, d; if (ret != -1) return ret; - while (atomic_flag_test_and_set(&spinlock)); + while (atomic_flag_test_and_set(&spinlock)); if (ret != -1) goto out; diff --git a/sum_fd.c b/sum_fd.c index 196efe4..1992cfd 100644 --- a/sum_fd.c +++ b/sum_fd.c @@ -61,7 +61,7 @@ libsha2_sum_fd(int fd, enum libsha2_algorithm algorithm, void *restrict hashsum) libsha2_digest(&state, NULL, 0, hashsum); #if ALLOCA_LIMIT <= 0 - free(chunk); + free(chunk); #endif return 0; } -- cgit v1.2.3-70-g09d2