From e35f22e5a543d90102eef87f6c45d2ec0a49cd3d Mon Sep 17 00:00:00 2001 From: Sander Temme Date: Thu, 21 Aug 2008 18:19:21 +0000 Subject: [PATCH] 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 --- modules/ssl/ssl_private.h | 10 ---------- modules/ssl/ssl_util.c | 8 ++++++++ 2 files changed, 8 insertions(+), 10 deletions(-) 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; -- 2.40.0