From: Hallvard Furuseth Date: Thu, 11 Jan 2007 13:43:52 +0000 (+0000) Subject: Wrap enum in #ifndef LDAP_PVT_THREAD_H_DONE; this code can be read twice. X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~200 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4a0d1a7dd1cd9f07e00a98c3e008905ebc52198e;p=openldap Wrap enum in #ifndef LDAP_PVT_THREAD_H_DONE; this code can be read twice. --- diff --git a/include/ldap_pvt_thread.h b/include/ldap_pvt_thread.h index 50a89c6a23..ddc0302a83 100644 --- a/include/ldap_pvt_thread.h +++ b/include/ldap_pvt_thread.h @@ -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((