aboutsummaryrefslogtreecommitdiffstats
path: root/process.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2024-10-14 15:42:33 +0200
committerMattias Andrée <m@maandree.se>2024-10-14 15:42:33 +0200
commitfdd66d4d0e0a48bc2b2430b07948ef42bc64e7db (patch)
tree2e5a638e5727c80a9e1251d757b17b2b5636dbc3 /process.c
parentUpdate e-mail (diff)
downloadlibsha2-fdd66d4d0e0a48bc2b2430b07948ef42bc64e7db.tar.gz
libsha2-fdd66d4d0e0a48bc2b2430b07948ef42bc64e7db.tar.bz2
libsha2-fdd66d4d0e0a48bc2b2430b07948ef42bc64e7db.tar.xz
Fix whitespace
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'process.c')
-rw-r--r--process.c6
1 files changed, 3 insertions, 3 deletions
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;