aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_spin_unlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_spin_unlock.c')
-rw-r--r--src/thread/pthread_spin_unlock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_spin_unlock.c b/src/thread/pthread_spin_unlock.c
index 724d9e0d..1603a977 100644
--- a/src/thread/pthread_spin_unlock.c
+++ b/src/thread/pthread_spin_unlock.c
@@ -5,3 +5,11 @@ int pthread_spin_unlock(pthread_spinlock_t *s)
a_store(s, 0);
return 0;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif