[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Sun Feb 14 13:14:20 UTC 2016


The branch master has been updated
       via  dda71111b88bc36a75e25787ecbe246f2620e940 (commit)
      from  08934f1ab2f19061139f93fe2f1ee2470485b85c (commit)


- Log -----------------------------------------------------------------
commit dda71111b88bc36a75e25787ecbe246f2620e940
Author: Richard Levitte <levitte at openssl.org>
Date:   Sun Feb 14 11:48:47 2016 +0100

    Declare DllMain internally
    
    DllMain is a symbol that needs to be global, but no one needs to know.
    However, some compilers will warn if there isn't a declaration before
    the function is defined.  Just add a declaration before the function
    definition.
    
    Reviewed-by: Kurt Roeckx <kurt at openssl.org>

-----------------------------------------------------------------------

Summary of changes:
 crypto/cryptlib.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index 1b2a365..8052893 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -210,6 +210,7 @@ void OPENSSL_cpuid_setup(void)
  * detaches
  */
 
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved);
 BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
 {
     switch (fdwReason) {


More information about the openssl-commits mailing list