aboutsummaryrefslogtreecommitdiff
path: root/src/thread/__lock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/__lock.c')
-rw-r--r--src/thread/__lock.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/__lock.c b/src/thread/__lock.c
index 60eece49..df60ebcb 100644
--- a/src/thread/__lock.c
+++ b/src/thread/__lock.c
@@ -60,3 +60,11 @@ void __unlock(volatile int *l)
}
}
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif