[openssl-dev] crypto/threads/th-lock.c error
Gisle Vanem
gvanem at yahoo.no
Thu Jan 29 12:09:09 UTC 2015
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
More information about the openssl-dev
mailing list