aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_join.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_join.c')
-rw-r--r--src/thread/pthread_join.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_join.c b/src/thread/pthread_join.c
index 17dae85d..c3535e4b 100644
--- a/src/thread/pthread_join.c
+++ b/src/thread/pthread_join.c
@@ -38,3 +38,11 @@ static int __pthread_tryjoin_np(pthread_t t, void **res)
weak_alias(__pthread_tryjoin_np, pthread_tryjoin_np);
weak_alias(__pthread_timedjoin_np, pthread_timedjoin_np);
weak_alias(__pthread_join, pthread_join);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif