summaryrefslogtreecommitdiff
path: root/sync.c
diff options
context:
space:
mode:
Diffstat (limited to 'sync.c')
-rw-r--r--sync.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sync.c b/sync.c
index 3d64df9..628e5bb 100644
--- a/sync.c
+++ b/sync.c
@@ -10,6 +10,9 @@
* Code contributed by John E. Bossom <JEB>.
*/
+#include "pthread.h"
+#include "implement.h"
+
int
pthread_detach (pthread_t tid)
/*
@@ -112,7 +115,7 @@ pthread_join (pthread_t thread, void **value_ptr)
}
else
{
- threadDestroy (thread);
+ _pthread_threadDestroy (thread);
}
}