]> granicus.if.org Git - apache/commitdiff
Move struct definition out of the header file since it is only used in this source...
authorSander Temme <sctemme@apache.org>
Thu, 21 Aug 2008 18:19:21 +0000 (18:19 +0000)
committerSander Temme <sctemme@apache.org>
Thu, 21 Aug 2008 18:19:21 +0000 (18:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@687819 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_private.h
modules/ssl/ssl_util.c

index cc7697b007067dd6c2cc1c630d0cd8dba733f162..1bbbcb2ab94c6c063f479380531437bd954d64ef 100644 (file)
@@ -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
  */
index 2692eae59a546cac306873b9d921beeafddc5546..27c035144f06eb6049cedc13df40f37b3541227a 100644 (file)
@@ -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;