From d671c49b9416a39eedc6d9ef43fb070950de769b Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 3 Feb 1999 18:29:27 +0000 Subject: [PATCH] Fix set concurrency typos. --- include/ldap_pvt_thread.h | 4 ++-- libraries/libldap_r/thr_posix.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/ldap_pvt_thread.h b/include/ldap_pvt_thread.h index 8b5c7fad89..2f8a9229f5 100644 --- a/include/ldap_pvt_thread.h +++ b/include/ldap_pvt_thread.h @@ -169,7 +169,7 @@ ldap_pvt_thread_sleep LDAP_P(( unsigned int s )); #ifdef HAVE_GETCONCURRENCY LDAP_F int -ldap_pvt_thread_getconcurrency LDAP_P(( void )); +ldap_pvt_thread_get_concurrency LDAP_P(( void )); #endif #ifdef HAVE_SETCONCURRENCY # ifndef LDAP_THREAD_CONCURRENCY @@ -177,7 +177,7 @@ ldap_pvt_thread_getconcurrency LDAP_P(( void )); # define LDAP_THREAD_CONCURRENCY 3 # endif LDAP_F int -ldap_pvt_thread_setconcurrency LDAP_P(( int )); +ldap_pvt_thread_set_concurrency LDAP_P(( int )); #endif LDAP_F int diff --git a/libraries/libldap_r/thr_posix.c b/libraries/libldap_r/thr_posix.c index 09f283d829..c76286d136 100644 --- a/libraries/libldap_r/thr_posix.c +++ b/libraries/libldap_r/thr_posix.c @@ -20,7 +20,7 @@ int ldap_pvt_thread_initialize( void ) { #if defined( LDAP_THREAD_CONCURRENCY ) && HAVE_PTHREAD_SETCONCURRENCY - ldap_pvt_thread_setconcurrency( LDAP_THREAD_CONCURRENCY ); + ldap_pvt_thread_set_concurrency( LDAP_THREAD_CONCURRENCY ); #endif return 0; } -- 2.39.5