aboutsummaryrefslogtreecommitdiff
path: root/src/thread/thrd_join.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/thrd_join.c')
-rw-r--r--src/thread/thrd_join.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/thrd_join.c b/src/thread/thrd_join.c
index 0d5fd302..9d3ac030 100644
--- a/src/thread/thrd_join.c
+++ b/src/thread/thrd_join.c
@@ -9,3 +9,11 @@ int thrd_join(thrd_t t, int *res)
if (res) *res = (int)(intptr_t)pthread_res;
return thrd_success;
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif