[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openssl-dev
Subject:    [openssl-dev] crypto/threads/th-lock.c error
From:       Gisle Vanem <gvanem () yahoo ! no>
Date:       2015-01-29 12:09:09
Message-ID: 54CA22E5.70705 () yahoo ! no
[Download RAW message or body]

I'm truly amazed that this error has been in there so long.
 From MingW's gcc:
   crypto/threads/th-lock.c:130:13: error: static declaration of \
'CRYPTO_thread_cleanup' follows non-static declaration  \
crypto/threads/th-lock.c:89:6: note: previous declaration of 'CRYPTO_thread_cleanup' \
was here

Patch:

--- a/crypto/threads/th-lock.c    2015-01-28 22:47:16 +0000
+++ b/crypto/threads/th-lock.c    2015-01-29 13:05:34 +0000
@@ -127,7 +127,7 @@
      return (1);
  }

-static void CRYPTO_thread_cleanup(void)
+void CRYPTO_thread_cleanup(void)
  {
      int i;

----------

-- 
--gv
_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic