]> git.sur5r.net Git - openldap/commitdiff
Wrap enum in #ifndef LDAP_PVT_THREAD_H_DONE; this code can be read twice.
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 11 Jan 2007 13:43:52 +0000 (13:43 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 11 Jan 2007 13:43:52 +0000 (13:43 +0000)
include/ldap_pvt_thread.h

index 50a89c6a23f058956115254773bc62a35f74fa26..ddc0302a83cf12cfdf58afb91760e6d024df3699 100644 (file)
@@ -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((