From: Ben Collins Date: Fri, 15 Sep 2000 03:07:43 +0000 (+0000) Subject: wrap unused function, ldap_int_thread_onlist() in #if 0 X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1985 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4d0a95db047e1b6e716ff1cd7b5ade2dc3856d73;p=openldap wrap unused function, ldap_int_thread_onlist() in #if 0 --- diff --git a/libraries/libldap_r/tpool.c b/libraries/libldap_r/tpool.c index 224cf695aa..3243ac133a 100644 --- a/libraries/libldap_r/tpool.c +++ b/libraries/libldap_r/tpool.c @@ -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 */