mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Wrap enum in #ifndef LDAP_PVT_THREAD_H_DONE; this code can be read twice.
This commit is contained in:
parent
cb27c61010
commit
4a0d1a7dd1
@ -212,6 +212,7 @@ ldap_pvt_thread_pool_maxthreads LDAP_P((
|
||||
ldap_pvt_thread_pool_t *pool,
|
||||
int max_threads ));
|
||||
|
||||
#ifndef LDAP_PVT_THREAD_H_DONE
|
||||
typedef enum {
|
||||
LDAP_PVT_THREAD_POOL_PARAM_UNKNOWN = -1,
|
||||
LDAP_PVT_THREAD_POOL_PARAM_MAX,
|
||||
@ -226,6 +227,7 @@ typedef enum {
|
||||
LDAP_PVT_THREAD_POOL_PARAM_BACKLOAD_MAX,
|
||||
LDAP_PVT_THREAD_POOL_PARAM_STATE
|
||||
} ldap_pvt_thread_pool_param_t;
|
||||
#endif /* !LDAP_PVT_THREAD_H_DONE */
|
||||
|
||||
LDAP_F( int )
|
||||
ldap_pvt_thread_pool_query LDAP_P((
|
||||
|
Loading…
Reference in New Issue
Block a user