]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap_r/thr_cthreads.c
Eliminate second session protocol version field.
[openldap] / libraries / libldap_r / thr_cthreads.c
index 6eddb69317b61ca08c931c4c2ada18f1712d9a4b..8d3949aa989aba76efaf07bf3df019538b2bcd0f 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
@@ -11,9 +12,9 @@
 /* thr_cthreads.c - wrapper for mach cthreads */
 
 #include "portable.h"
-#include "ldap_pvt_thread.h"
 
 #if defined( HAVE_MACH_CTHREADS )
+#include "ldap_pvt_thread.h"
 
 /***********************************************************************
  *                                                                     *
@@ -28,6 +29,12 @@ ldap_pvt_thread_initialize( void )
        return 0;
 }
 
+int
+ldap_pvt_thread_destroy( void )
+{
+       return 0;
+}
+
 int 
 ldap_pvt_thread_create( ldap_pvt_thread_t * thread, 
        int detach,
@@ -47,7 +54,7 @@ int
 ldap_pvt_thread_join( ldap_pvt_thread_t thread, void **thread_return )
 {
        void *status;
-       status = (void *) cthread_join ( tid );
+       status = (void *) cthread_join ( thread );
        if (thread_return != NULL)
                {
                *thread_return = status;