]> git.sur5r.net Git - openldap/commitdiff
wrap unused function, ldap_int_thread_onlist() in #if 0
authorBen Collins <bcollins@openldap.org>
Fri, 15 Sep 2000 03:07:43 +0000 (03:07 +0000)
committerBen Collins <bcollins@openldap.org>
Fri, 15 Sep 2000 03:07:43 +0000 (03:07 +0000)
libraries/libldap_r/tpool.c

index 224cf695aa5acfbe3b20f9cebf3e8f1eea2cef4e..3243ac133ae1f4afc2a15009fcd901a2bf25b8fa 100644 (file)
@@ -61,7 +61,9 @@ static void *ldap_int_thread_pool_wrapper(
 
 static void *ldap_int_thread_enlist( ldap_int_thread_list_t *list, void *elem );
 static void *ldap_int_thread_delist( ldap_int_thread_list_t *list, void *elem );
+#if 0
 static void *ldap_int_thread_onlist( ldap_int_thread_list_t *list, void *elem );
+#endif
 
 int
 ldap_int_thread_pool_startup ( void )
@@ -433,7 +435,7 @@ ldap_int_thread_delist( ldap_int_thread_list_t *list, void *elem )
        }
        return(NULL);
 }
-
+#if 0
 static void *
 ldap_int_thread_onlist( ldap_int_thread_list_t *list, void *elem )
 {
@@ -448,5 +450,5 @@ ldap_int_thread_onlist( ldap_int_thread_list_t *list, void *elem )
 
        return(NULL);
 }
-
+#endif
 #endif /* LDAP_HAVE_THREAD_POOL */