]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap_r/thr_stub.c
Clarify error string, add comment
[openldap] / libraries / libldap_r / thr_stub.c
index ef47b81b3b73102815d53d7a8b9cafc584133d06..60da3cec1f001f57915b8597afd412b9d7e8c307 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * Copyright 1998,1999 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
 /* thr_stub.c - stubs for the threads */
 
 #include "portable.h"
-#include "ldap_pvt_thread.h"
 
 #if defined( NO_THREADS )
 
+#include "ldap_pvt_thread.h"
+
 /***********************************************************************
  *                                                                     *
  * no threads package defined for this system - fake ok returns from   *
@@ -28,6 +30,12 @@ ldap_pvt_thread_initialize( void )
        return 0;
 }
 
+int
+ldap_pvt_thread_destroy( void )
+{
+       return 0;
+}
+
 static void* ldap_int_status = NULL;
 
 int 
@@ -75,6 +83,12 @@ ldap_pvt_thread_cond_init( ldap_pvt_thread_cond_t *cond )
        return 0;
 }
 
+int 
+ldap_pvt_thread_cond_destroy( ldap_pvt_thread_cond_t *cond )
+{
+       return 0;
+}
+
 int 
 ldap_pvt_thread_cond_signal( ldap_pvt_thread_cond_t *cond )
 {