From 4a0d1a7dd1cd9f07e00a98c3e008905ebc52198e Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 11 Jan 2007 13:43:52 +0000 Subject: [PATCH] Wrap enum in #ifndef LDAP_PVT_THREAD_H_DONE; this code can be read twice. --- include/ldap_pvt_thread.h | 2 ++ 1 file changed, 2 insertions(+) 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(( -- 2.39.5