When configure with
./configure --without-thread
The code in master branch will failed with:
thr_stub.c:170:1: error: conflicting types for 'ldap_pvt_thread_pool_retract'
ldap_pvt_thread_pool_retract (
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from thr_stub.c:21:0:
../../include/ldap_pvt_thread.h:237:1: note: previous declaration of
'ldap_pvt_thread_pool_retract' was here
ldap_pvt_thread_pool_retract LDAP_P((
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
thr_stub.c:254:1: warning: return type defaults to 'int' [-Wimplicit-int]
ldap_pvt_thread_pool_pausecheck( ldap_pvt_thread_pool_t *tpool )
It seems the check in e12ca8b6fed6b8a2526 for "Fixes for multiple
threadpool queues" change the API but does not update the thr_stub.c
definition.