From dda71111b88bc36a75e25787ecbe246f2620e940 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sun, 14 Feb 2016 11:48:47 +0100 Subject: 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 --- crypto/cryptlib.c | 1 + 1 file changed, 1 insertion(+) (limited to 'crypto/cryptlib.c') diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c index 1b2a365baa..8052893db2 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) { -- cgit v1.2.3