mirror of
https://github.com/openssl/openssl.git
synced 2025-03-31 20:10:45 +08:00
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@openssl.org>
This commit is contained in:
parent
08934f1ab2
commit
dda71111b8
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user