From: Sander Temme Date: Thu, 21 Aug 2008 18:19:21 +0000 (+0000) Subject: Move struct definition out of the header file since it is only used in this source... X-Git-Tag: 2.3.0~336 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e35f22e5a543d90102eef87f6c45d2ec0a49cd3d;p=apache Move struct definition out of the header file since it is only used in this source file git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@687819 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/ssl/ssl_private.h b/modules/ssl/ssl_private.h index cc7697b007..1bbbcb2ab9 100644 --- a/modules/ssl/ssl_private.h +++ b/modules/ssl/ssl_private.h @@ -462,16 +462,6 @@ typedef struct { const char *szUserName; } SSLDirConfigRec; -/** - * Dynamic lock structure - */ -struct CRYPTO_dynlock_value { - apr_pool_t *pool; - const char* file; - int line; - apr_thread_mutex_t *mutex; -}; - /** * function prototypes */ diff --git a/modules/ssl/ssl_util.c b/modules/ssl/ssl_util.c index 2692eae59a..27c035144f 100644 --- a/modules/ssl/ssl_util.c +++ b/modules/ssl/ssl_util.c @@ -351,6 +351,14 @@ static void ssl_util_thr_lock(int mode, int type, } } +/* Dynamic lock structure */ +struct CRYPTO_dynlock_value { + apr_pool_t *pool; + const char* file; + int line; + apr_thread_mutex_t *mutex; +}; + /* Global reference to the pool passed into ssl_util_thread_setup() */ apr_pool_t *dynlockpool = NULL;