aboutsummaryrefslogtreecommitdiff
path: root/src/thread/pthread_detach.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/pthread_detach.c')
-rw-r--r--src/thread/pthread_detach.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/thread/pthread_detach.c b/src/thread/pthread_detach.c
index d73a500e..2c2fcb47 100644
--- a/src/thread/pthread_detach.c
+++ b/src/thread/pthread_detach.c
@@ -16,3 +16,11 @@ static int __pthread_detach(pthread_t t)
weak_alias(__pthread_detach, pthread_detach);
weak_alias(__pthread_detach, thrd_detach);
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif