aboutsummaryrefslogtreecommitdiff
path: root/src/thread/__wait.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/__wait.c')
-rw-r--r--src/thread/__wait.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/__wait.c b/src/thread/__wait.c
index dc33c1a3..c713e3e5 100644
--- a/src/thread/__wait.c
+++ b/src/thread/__wait.c
@@ -15,3 +15,11 @@ void __wait(volatile int *addr, volatile int *waiters, int val, int priv)
}
if (waiters) a_dec(waiters);
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif