Index: fusl/src/thread/pthread_spin_lock.c |
diff --git a/fusl/src/thread/pthread_spin_lock.c b/fusl/src/thread/pthread_spin_lock.c |
index ded2b653c4751db88f288af6b84f92a7341263b3..761941df076c47afb82e75aa8e76a0fb4751e5e8 100644 |
--- a/fusl/src/thread/pthread_spin_lock.c |
+++ b/fusl/src/thread/pthread_spin_lock.c |
@@ -1,8 +1,8 @@ |
#include "pthread_impl.h" |
#include <errno.h> |
-int pthread_spin_lock(pthread_spinlock_t *s) |
-{ |
- while (*(volatile int *)s || a_cas(s, 0, EBUSY)) a_spin(); |
- return 0; |
+int pthread_spin_lock(pthread_spinlock_t* s) { |
+ while (*(volatile int*)s || a_cas(s, 0, EBUSY)) |
+ a_spin(); |
+ return 0; |
} |